( )⚙ D6085 packaging: move DOWNLOADS dict to hgpackaging.downloads

This is an archive of the discontinued Mercurial Phabricator instance.

packaging: move DOWNLOADS dict to hgpackaging.downloads
ClosedPublic

Authored by indygreg on Mar 7 2019, 7:49 PM.

Details

Summary

We'll want to keep state in sync between multiple packaging tools.
It makes sense to share a central data structure defining downloads.

We also change the function to return the downloads entry so
callers don't have to access the global DOWNLOADS in the new
location.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Mar 7 2019, 7:49 PM
This revision was automatically updated to reflect the committed changes.