JJ / raku-ukr-mod-data

Scraping the Ukrainian Ministry of Defense web site for data
Artistic License 2.0
1 stars 0 forks source link

Installing exposes all scripts in bin globally #36

Closed jjatria closed 2 years ago

jjatria commented 2 years ago

Doing zef install Data::UkraineWar::MoD will take the scripts in bin and install them in the PATH:

6 bin/ scripts [commit-push.sh index.js ukr-mod-scrape-local.raku scrape.py ukr-mod-scrape.raku plot-pairs.R] installed to:
.../install/share/perl6/site/bin

Some of those seem very local to this distribution, like commit-push.sh, which does

git config --global user.email "jjmerelo@gmail.com"
git config --global user.name "UkrModDataBot"
git commit -am "[🤖] $1"

Maybe they can be moved to tools, as suggested in Matthew Stuckwisch's recent talk at TPRC? Or removed from the distribution tarball before release?

JJ commented 2 years ago

Absolutely and totally right. scripts might be another option