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

Download default metadata in .tar.gz rather than .zip format #1344

Merged
merged 4 commits into from
Jul 31, 2015

Conversation

pjf
Copy link
Member

@pjf pjf commented Jul 31, 2015

At some point, we gained the ability to read .tar.gz files, but the client continued to use .zip to download metadata. This change flips us to use tarballs, which are an order of magnitude smaller than the .zip files. This can make a big difference, especially on slow connections.

This change will affect both new users, and existing users if and only if they're using the default repository settings.

At some point, we gained the ability to read `.tar.gz` files, but the
client continued to use `.zip` to download metadata. This change flips
us to use tarballs, which are *an order of magnitude smaller* than the
.zip files. This can make a big difference, especially on slow
connections.

This change will affect both new users, and existing users if and only
if they're using the default repository settings.
// custom-added by our user.

Repository default_repo;
var OldDefaultRepo = new Uri("https://github.com/KSP-CKAN/CKAN-meta/archive/master.zip");
Copy link
Member

Choose a reason for hiding this comment

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

Local variables are typically always camelCase, so defaultRepo and oldDefaultRepo.

@pjf
Copy link
Member Author

pjf commented Jul 31, 2015

@dbent : Thank you so much! Adjusted code to contain more camels. :)

dbent added a commit that referenced this pull request Jul 31, 2015
Download default metadata in .tar.gz rather than .zip format
@dbent dbent merged commit 0862b9b into KSP-CKAN:master Jul 31, 2015
@pjf pjf removed the pull request label Jul 31, 2015
@janbrohl janbrohl mentioned this pull request May 22, 2016
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