Summary: | Show EAPI in eshowkw | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | den4ikks, esigra, mjo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346443 | ||
Attachments: |
Add eapi to the eshowkw
Add eapi to the eshowkw2 Add eapi to the eshowkw Add eapi to the eshowkw patch example output |
Description
Justin Lecher (RETIRED)
2015-10-16 09:19:00 UTC
Hello gentoo community, does anybody work on this task? I have draft working version of it, so I could test, clean up the code and put on review if you don't mind. That would be awesome, thank you Created attachment 417074 [details, diff]
Add eapi to the eshowkw
Actually this table isn't completely scalable. It's assumed that slot column will be last in the additional field, so that it can be filled with extra spaces in case slot length isn't of length one(you can find it by looking at -1 comment of author). I've added eapi to the first column of the additional field just because of that and when eapi 10 will come, the alignment will be broken :). To make it extensible in this way it requires changes to the logic of how table is drawn.
Created attachment 417078 [details, diff]
Add eapi to the eshowkw2
Opps :)
(In reply to Denis Romanchuk from comment #4) > Created attachment 417078 [details, diff] [details, diff] > Add eapi to the eshowkw2 > > Opps :) Works nicely!! Thanks. How about adding coloring of banned and deprecated EAPIs? Sure, will try to do this asap. Justin, if you are happy with the changes and are willing to do so, go ahead and commit them to the gentoolkit repository master branch https://gitweb.gentoo.org/proj/gentoolkit.git/ Created attachment 417186 [details, diff]
Add eapi to the eshowkw
(In reply to Denis Romanchuk from comment #8) > Created attachment 417186 [details, diff] [details, diff] > Add eapi to the eshowkw Great work, Do you like to send a git format-patch so that I can record your author contribution in the git repo? Created attachment 417190 [details, diff]
Add eapi to the eshowkw patch
It would be great :)
commit 95b5655ae01c0185a9539d1921509277fa778102 Author: Denis Romanchuk <den4ikkss@gmail.com> Date: Mon Nov 16 06:01:21 2015 +0200 Add eapi column to the eshowkw Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=95b5655ae01c0185a9539d1921509277fa778102 Created attachment 417194 [details]
example output
Isn't this done, or are there still features missing? It was completed and released in gentoolkit-0.3.1 |