Skip to main content
Topic: asp equivalent? (Read 1075 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

asp equivalent?

Is there an equivalent to arch's asp package? I use the following script to
pull from https://github.com/artix-linux (asp is much more comfortable but seems
to know nothing about system/world/galaxy):
Code: [Select]
#!/bin/bash
BUILDDIR="${BUILDDIR:-$HOME/ARTIX}"
mkdir -p $BUILDDIR
for dir in $BUILDDIR/{system,world,galaxy}; do
    [[ -d $dir ]] && {
    cd $dir
    git reset --hard HEAD
    git pull
    } || {
        cd $BUILDDIR && \
        git clone https://github.com/artix-linux/`basename $dir`
    }
done
This works perfectly but may become a strain on your servers if more people use
something like this and the number of packages increases (that's why the arch
people replaced abs with asp, which has sparse checkout - every package has its
own .git folder).

 

Re: asp equivalent?

Reply #1
No there isn't, yet, and I haven't even looked at asp's code to see how easy would it be to convert it for Artix. Any contributions would be welcome.

About your server load now, I believe Github can handle a couple of thousand of Artix users pulling and cloning all together.  :)