Saving Gitorious repositories
- Inicie sesión ou rexístrese para enviar comentarios
I am trying to save some Gitorious repositories before Gitorious shuts down. I am working on modifying a script that batch-downloads GitHub repositories to work with Gitorious instead.
https://gist.github.com/ssdclickofdeath/34855c86910b63c50413
(Please don't tell me GitHub is proprietary. It's the best place I can put the script for now.)
The problem is, the script only downloads the first repository. For example, with this command:
./gitorious.sh copyleft-org/ssdclickofdeaths-tutorial jxself/ssdclickofdeath-digits
The script only downloads the first repository. How can I get this to work properly?
Won't the code be automatically moved to GitLab? That is better than GitHub...
As far as I know, Gitorious users have to opt-in (and become a paying customer) to have their code moved to GitLab. In case you misunderstood, I'm not going to put a mirror of the repositories on GitHub, I am just hosting the script there.
According to https://about.gitlab.com/2015/03/03/gitlab-acquires-gitorious/ :
Starting today, Gitorious.org users can import their existing projects into GitLab.com by clicking the “Import projects from Gitorious.org” link when creating a new project.
So, it is not automatic but it is only a link to click. It is not clear from https://about.gitlab.com/features/ whether this link is present in the free (as in freedom and as in gratis) Community Edition but I believe it is because "Project importing from GitHub to GitLab" is a feature of the community edition.
That said, I am not supporting companies whose business model is to attract user with free software and then constantly invite/force them into proprietary software (the Enterprise Edition of GitLab in this case)... but that still is better than only proposing proprietary software (like GitHub).
Does anyone know how to make this script work? I still don't know what "main $*" means. I know that "main" runs the function "main", what does the "$*" mean? Is it a wild card variable?
About $* in bash
http://wiki.bash-hackers.org/scripting/posparams#mass_usage
I got it working now, and pushed the fixed version to the git repo.
Now I will try to make the script put each project's repositories in separate directories.
"Now I will try to make the script put each project's repositories in separate directories."
Accomplished!
- Inicie sesión ou rexístrese para enviar comentarios