-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This change refactors the index package updating to enable an optimization; using an HTTP header to determine the available version rather than reading the package contents remotely. If the header is present, containing a valid package version string, it will be used as the available version. If not, the existing package content examination will be used. The refactoring was required to do all package inspection steps after downloading the package, rather than before. This enables the single version value to be sufficient until we decide to update, and then in the very unlikely event of the package not meeting criteria we will delete it after having downloaded it.
- Loading branch information
Showing
6 changed files
with
256 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -429,6 +429,7 @@ SMTO | |
sortof | ||
sourceforge | ||
SOURCESDIRECTORY | ||
sourceversion | ||
spamming | ||
SPAPI | ||
Srinivasan | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.