-
Notifications
You must be signed in to change notification settings - Fork 68
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
package name mapping #44
Comments
👍 |
Any updates on this? I would like to try and help if possible. This feature would be very useful in my usecase for pacapt |
we have a big table to map these packages, you have any idea to query it fast and correctly ? :) |
@darnir Sorry for any inconvenience. I know it's very useful (also for my daily boring jobs) but the only idea I have is to create a big table of all packages, e.g,
and then But... let me give it a try with a simple implementation. Stay tuned! |
@icy Just a couple of things I was thinking of:
|
@pabru It's kind of fuzzy searching which is not very useful as far as I see in my daily life; what I really want is exact match. For example, when I write some (2) I think we need to respect distribution's behavior insead of creating similar behavior between distributions. Please note I haven't started working on this. There is a problem that [now] |
@icy @pabru The data needed for both of these suggestions could be automatically generated. Initially the commands in the path could be generated simply by looking at /bin ; /usr/bin and /usr/local/bin. Next, when someone finds a package that they need that doesn't fit, by looking at the actual default path on the given system and then finally, if this ends up really important, by comparing all available commands in the path before and after installing the package. |
An idea that came up that could work is have something like This way one could easily deploy the script alongside the mappings-file and maybe even share it here via pull request to build a large mappings file that slowly gets more complete over time. |
@Mithrandir2k18 Thanks for your idea. Generally |
Example
will be translated to
apache2
apache
orhttp
according to the OS wherepacapt
is running.The first goal is to support some popular packages
The text was updated successfully, but these errors were encountered: