Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get builds from store #44

Merged
merged 6 commits into from
Apr 10, 2018
Merged

Get builds from store #44

merged 6 commits into from
Apr 10, 2018

Conversation

lschaefer-sugarcrm
Copy link
Contributor

@lschaefer-sugarcrm lschaefer-sugarcrm commented Apr 3, 2018

This fixes issue #42. Note that the 8.0 builds are not yet in the store. You can test the functionality by replacing the names of the zips on lines 270, 274, and 278 with zips that are in the store like SugarEnt-7.9.3.0.zip.

This branch is built off of the integration-tests branch and should not be merged until PR #38 is merged. The new commit that is part of this PR is d49ba1a.

Initial mess that successfully gets download from store

Needs lots of cleaning

Cleaned up the code

Simplify the authentication to dev builds community by using curl -L

Update doc

Update naming of DEV_COMMUNITY to be SUGARCRM
Copy link
Member

@mmarum-sugarcrm mmarum-sugarcrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See other comments

Initial mess that successfully gets download from store

Needs lots of cleaning

Cleaned up the code

Simplify the authentication to dev builds community by using curl -L

Update doc

Update naming of DEV_COMMUNITY to be SUGARCRM
@lschaefer-sugarcrm
Copy link
Contributor Author

@mmarum-sugarcrm I'm not able to reply inline to your earlier comments, so....

What is the 60000000 magic number here? If a file is empty, wouldn't size equal 0?

It is a bit of a magic number. For some reason, if you attempt to download a zip file that doesn't exist, you get a zip file of 209b instead of 0b. I've added a comment in the code to explain this.

There are some general security concerns with passing passwords over command line... We should open a ticket for supporting alternative methods in future.

I opened #53 to track this.

Can you review again?

@mmarum-sugarcrm mmarum-sugarcrm merged commit 8cce01c into master Apr 10, 2018
@lschaefer-sugarcrm lschaefer-sugarcrm deleted the get-builds-from-store branch April 10, 2018 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants