[arch-general] Pacman, adding comments to the packages
Hello, I propose to add the ability to add comments to the packages in pacman. For example, sometimes you need to install packages as a optional or makedepend. I always do it with --as-deps key. Later, when you run "pacman -Qdt" to see and cleanup orphan packages you can't distinguish really orphan packages and packages installed via the reasons, describedabove. In this case comments to the packages could be very useful. Sorry fo my english :)
On Thu, Aug 16, 2012 at 4:27 PM, Joker-jar <jokerjar@gmail.com> wrote:
Hello, I propose to add the ability to add comments to the packages in pacman. For example, sometimes you need to install packages as a optional or makedepend. I always do it with --as-deps key. Later, when you run "pacman -Qdt" to see and cleanup orphan packages you can't distinguish really orphan packages and packages installed via the reasons, describedabove. In this case comments to the packages could be very useful. Sorry fo my english :)
You should open a task in the bugtracker if there's no such request already.
On Thu, Aug 16, 2012 at 5:30 PM, Karol Blazewicz <karol.blazewicz@gmail.com> wrote:
On Thu, Aug 16, 2012 at 4:27 PM, Joker-jar <jokerjar@gmail.com> wrote:
Hello, I propose to add the ability to add comments to the packages in pacman. For example, sometimes you need to install packages as a optional or makedepend. I always do it with --as-deps key. Later, when you run "pacman -Qdt" to see and cleanup orphan packages you can't distinguish really orphan packages and packages installed via the reasons, describedabove. In this case comments to the packages could be very useful. Sorry fo my english :)
You should open a task in the bugtracker if there's no such request already.
Hello, just a suggestion. Wouldn't tracking which packages where installed as optional dependencies be better? There could be a --as-optdeps option for example. --Chris Sakalis
On Thu, Aug 16, 2012 at 12:07 PM, Chris Sakalis <chrissakalis@gmail.com> wrote:
On Thu, Aug 16, 2012 at 5:30 PM, Karol Blazewicz <karol.blazewicz@gmail.com> wrote:
On Thu, Aug 16, 2012 at 4:27 PM, Joker-jar <jokerjar@gmail.com> wrote:
Hello, I propose to add the ability to add comments to the packages in pacman. For example, sometimes you need to install packages as a optional or makedepend. I always do it with --as-deps key. Later, when you run "pacman -Qdt" to see and cleanup orphan packages you can't distinguish really orphan packages and packages installed via the reasons, describedabove. In this case comments to the packages could be very useful. Sorry fo my english :)
You should open a task in the bugtracker if there's no such request already.
Hello, just a suggestion. Wouldn't tracking which packages where installed as optional dependencies be better? There could be a --as-optdeps option for example.
Hi! That subject will be better handled in a feature request and a possible discussion on pacman-dev mailing list. I believe there is something about enhancing the suport for optiona dependencies and maybe some patches about that. But they didn't go much further. You should search pacman-dev archives and the bug tracker, of course. -- A: Because it obfuscates the reading. Q: Why is top posting so bad? For more information, please read: http://idallen.com/topposting.html ------------------------------------------- Denis A. Altoe Falqueto Linux user #524555 -------------------------------------------
On Thu, Aug 16, 2012 at 5:30 PM, Karol Blazewicz <karol.blazewicz@gmail.com> wrote:
On Thu, Aug 16, 2012 at 4:27 PM, Joker-jar <jokerjar@gmail.com> wrote:
Hello, I propose to add the ability to add comments to the packages in pacman. For example, sometimes you need to install packages as a optional or makedepend. I always do it with --as-deps key. Later, when you run "pacman -Qdt" to see and cleanup orphan packages you can't distinguish really orphan packages and packages installed via the reasons, describedabove. In this case comments to the packages could be very useful. Sorry fo my english :)
You should open a task in the bugtracker if there's no such request already. I believe I've seen the issue somewhere on forums or bug tracker, can't find it now though. https://bbs.archlinux.org/viewtopic.php?id=53788 metapax on aur seems it might do the job, but the download link is dead now..
Hello, just a suggestion. Wouldn't tracking which packages where installed as optional dependencies be better? There could be a --as-optdeps option for example. I agree, my idea was:
Hi! that is a great idea. On Thursday 16 of August 2012 18:07:40 Chris Sakalis wrote: pacman -S --create-meta name [description] dependency[-version] [dep2 ...] $ pacman -S --create-meta myproject pkg1 pkg2-1.3 which would call makepkg and create package named myproject with only pkgname=myproject pkgdesc="blah" depends=('pkg1','pkg2<=1.3') Usecase: *nice handling of optdepends for packages you install *handling of temporal projects: eg for school I work on several projects at once, say for music-work i need midi player, notation visualizer, mp32midi parser etc...all these have to be installed explicitly nowadays and after a month I don't know whatnot have been installed for the project and can be removed now. *cleaner system and explicitely installed pkgs: eg for a new cellphone, one wants a driver, filemanager, gps app etc - that all could be just in a my-android metapkg. Additional note: A feature would be pacman -S my-meta-pkg --add dep3 pacman -S my-meta-pkg --remove dep2
--Chris Sakalis
Will you set up the feature request on bugtracker or should I? Have a nice day, Mark -- Marek Otahal :o)
just a suggestion. Wouldn't tracking which packages where installed as optional dependencies be better? There could be a --as-optdeps option for example.
Do not forget about makedepends. Often you can't remember for what package you install something in the orphans list as makedepend, or it's just orphan. By the way, it would be nice to know the origin of real orphans (for example, who depend on them earlier). 2012/8/17 Marek Otahal <markotahal@gmail.com>
Hi! that is a great idea.
On Thu, Aug 16, 2012 at 5:30 PM, Karol Blazewicz <karol.blazewicz@gmail.com> wrote:
On Thu, Aug 16, 2012 at 4:27 PM, Joker-jar <jokerjar@gmail.com> wrote:
Hello, I propose to add the ability to add comments to the packages in pacman. For example, sometimes you need to install packages as a
or makedepend. I always do it with --as-deps key. Later, when you run "pacman -Qdt" to see and cleanup orphan packages you can't distinguish really orphan packages and packages installed via the reasons, describedabove. In this case comments to the packages could be very useful. Sorry fo my english :)
You should open a task in the bugtracker if there's no such request already. I believe I've seen the issue somewhere on forums or bug tracker, can't find it now though. https://bbs.archlinux.org/viewtopic.php?id=53788 metapax on aur seems it might do the job, but the download link is dead now..
Hello, just a suggestion. Wouldn't tracking which packages where installed as optional dependencies be better? There could be a --as-optdeps option for example. I agree, my idea was:
On Thursday 16 of August 2012 18:07:40 Chris Sakalis wrote: optional pacman -S --create-meta name [description] dependency[-version] [dep2 ...]
$ pacman -S --create-meta myproject pkg1 pkg2-1.3
which would call makepkg and create package named myproject with only pkgname=myproject pkgdesc="blah" depends=('pkg1','pkg2<=1.3')
Usecase: *nice handling of optdepends for packages you install *handling of temporal projects: eg for school I work on several projects at once, say for music-work i need midi player, notation visualizer, mp32midi parser etc...all these have to be installed explicitly nowadays and after a month I don't know whatnot have been installed for the project and can be removed now. *cleaner system and explicitely installed pkgs: eg for a new cellphone, one wants a driver, filemanager, gps app etc - that all could be just in a my-android metapkg.
Additional note: A feature would be pacman -S my-meta-pkg --add dep3 pacman -S my-meta-pkg --remove dep2
--Chris Sakalis
Will you set up the feature request on bugtracker or should I?
Have a nice day, Mark
--
Marek Otahal :o)
participants (5)
-
Chris Sakalis
-
Denis A. AltoƩ Falqueto
-
Joker-jar
-
Karol Blazewicz
-
Marek Otahal