Pkg.jl: Should we ever clean out the registry for pre 0.7 packages / versions?

Created on 16 Aug 2019  路  6Comments  路  Source: JuliaLang/Pkg.jl

Personally, I think a big sweep that removes all versions of packages in the registry that only support <= julia version 0.6 would be a good idea. Packages with no versions left would be completely removed. These versions cannot ever be installed, they make the resolver slower, they make resolver error messages more verbose etc etc.

The only argument people might have is that they feel they have "dibs" on a package name they like and that want to keep that, but haven't updated their package to 0.7. However, there has been a long enough time that I think we can let those names go without a bad conscience.

Discussion

Most helpful comment

Done, 100k lines deleted from the registry.

All 6 comments

Package name collisions are also allowed now, so they don't have dibs in any sense.

The exact policy for General itself hasn't really been decided yet, but sure.

From triage:

Cleaning out General

Remove any versions that aren鈥檛 compatible with Julia 1.0+
Remove any versions that aren鈥檛 installable

  • package deleted
  • version no longer on a branch/tag
  • no compatible version set of dependencies exists

Remove packages with no remaining versions

For step 1:

Remove any versions that aren鈥檛 compatible with Julia 1.0+

I have a script here:
https://gist.github.com/KristofferC/e6d9bbed08f689705f73cbcb0f672866

with the resulting diff: https://github.com/JuliaRegistries/General/commit/38b95911f36f32d26a89840b225e64353fdbcf70

Packages that would be completely deleted: https://gist.github.com/KristofferC/30a3d6e6304c4b8335a092eed16c7a6a.

TODO: Also need to remove versions where packages depend on one of the deleted packages.
Done

The process for this has started.

Done, 100k lines deleted from the registry.

Was this page helpful?
0 / 5 - 0 ratings