On Thu, Apr 10, 2025 at 11:30 AM Jon Turney <jon.tur...@dronecode.org.uk> wrote:
>
> But we really don't mind people making git clones, so if you want to get
> a load of cygport files to grep through and whatnot, this is relatively
> easy to script:

Thank you for the clarifications. I thought there could be something
with rsync and cyg...@cygwin.com, but it might be a nuisance to
administer properly, to prevent some crazy slurping "by mistake" or
read access where one should not read.

bash-fu solution, not intended for daily use, nor even monthly. Output
can be sifted for up to date list of missing ones ("fatal: repository
not found").


wget https://cygwin.com/cgit/cygwin-infra/pkg-maint/plain/cygwin-pkg-maint

awk '{print $1}' cygwin-pkg-maint | grep "^[a-z]" > pkgs

while read p;
    do git clone --depth=1 git://cygwin.com/git/cygwin-packages/${p};
    sleep 6; #have a nice day
done < pkgs

#something to plug in above, to streamline (from 4098 to 2112)
#grep -Ev 
"^(aspell|docbook|gnome|kde|kf5|hunspell|lxde|lxqt|mate|mingw64|ocaml|octave|perl|python|qt5|ruby|texlive|xfce4)-"

Reply via email to