aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eapi-usage.sh: update commentary re pinspect usageSam James2023-01-181-3/+5
| | | | | | | | | We previously stopped using it because pkgcore at the time lacked support for newer EAPIs (>= EAPI 5), but now it's less appealing to switch back despite the elegance (and nicer output, I suppose) given the awk works and is a fair bit faster. Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: optimise + refactorSam James2023-01-181-5/+5
| | | | | | | | | | | | | - Use Bash primitives (parameter expansion) to avoid cut/rev (2x) calls, as well as grep! - Switch to while/read/find loop for improved robustness over while which can have issues wrt globbing/special file names. Thanks to ulm for the suggestions. Thanks-to: Ulrich Müller <ulm@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: drop errant </pre> from STATSSam James2022-03-191-1/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: fix clobbering README/STATSSam James2022-03-191-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh; drop set -xSam James2022-03-191-1/+0
| | | | | | Was added for debugging. Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: write STATS.txt in eapi-usage/Sam James2022-03-191-10/+19
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: cleanup old EAPI resultsSam James2022-03-191-0/+1
| | | | | | | This means we don't have stale-files lingering once all ebuilds using an EAPI are removed. Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: only list EAPIs seen in treeSam James2022-03-191-13/+5
| | | | | | | | | Means we avoid e.g. EAPI 0 but also EAPIs never in ::gentoo like 5-progress. Much less noisy, anyway. Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: fully respect ${REPO_PATH}Sam James2022-03-191-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: add note about EINFO_QUIETSam James2022-03-191-0/+1
| | | | | | | We use gentoo-functions' bits so we respect EINFO_QUIET. Note this in a comment as not everybody will know this. Signed-off-by: Sam James <sam@gentoo.org>
* eapi-usage.sh: rename from eapi_usage.sh; absorb check-eapis.shSam James2022-03-191-0/+83
Both eapi_usage.sh and check-eapis.sh do very similar things, so let's combine the two. Signed-off-by: Sam James <sam@gentoo.org>