-
Notifications
You must be signed in to change notification settings - Fork 177
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
New package name fields, take 2 #944
Comments
Also list these fields on repository/fields page in admin mode |
To retain (some of) compatibility and not invent new long names, let's use |
This includes *bsd, gentoo, npackd, wikidata, libregamewiki and arch - Switch from name/basename/keyname to name/srcname/binname - Fix pkglinks accordingly - Remove 'base' extrafield from Arch, it's no longer needed
Since we no longer have reliable name, find a best matching package in parsed packages for each sample and compare sample with it
Ok, it's gradually becoming more consistent. The next questions are:
|
Mostly done. Remaining thing is to revisit |
Remove all mentions of keyname and basename, make trackname mandatory
Getting back to it, in order to finalize repology/repology-webapp#66. I've come with the following policy:
|
Introduce a new type of generic mapping for both src and bin names and add a warning when using generic name
Most set srcname, pypi and cran also set binname to the same value, as these repositories are known to distribute binary artifacts.
- File names are not unique, so use full path as trackname and binname - Extensions seem to matter, so include these in visiblename - Split all (e.g. .tar.gz) extensions (as opposed to the last one) from the file name for the purpose of project name seed
Remaining repositories (which are non-trivial to classify) are:
|
Follow up to #439. Though
keyname
helped to solve some tasks, it has proven itself ambiguous, so the next idea is to drop it in favor of different fields with more concrete meaning.trackname
- name used to track package between repository updates (Track package lifetimes through keynames #527)refname
- name used to reference the package from outside (Implement endpoints based on original package name repology-webapp#66, wikidata bot). There may be multiple refnames, but these should not be mixed up. At least we'll need source reference name and binary reference name, but we may need general reference name if source/binary terms do not apply, or we may need other types. We can start with 3 optional fields (and partial indexes in the DB, so there's much overhead for each new field).Needless to mention, #931 is required so we can easily route and reroute repository-specific name types into our name classification.
The text was updated successfully, but these errors were encountered: