Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

[OT] Source code repositories

by davies (Prior)
on Mar 22, 2015 at 12:18 UTC ( [id://1120877]=perlquestion: print w/replies, xml ) Need Help??

davies has asked for the wisdom of the Perl Monks concerning the following question:

I have been using Gitorious to post occasional Perl and spreadsheets. I have also collaborated on an Excel VBA project on Google Code. Now both are closing. I prefer Git, although I don't know any of the version control systems well enough for that to be an informed choice. I'm not in the business of paying in order to give my work away free, so migrating to Gitlab doesn't appeal.

There is a comparison of repositories at http://en.wikipedia.org/wiki/Comparison_of_source_code_software_hosting_facilities, but the only ones from which I have downloaded are Github (which I don't like because of its insistence on Javascript) and SourceForge. Have any monks experiences from which I can profit before deciding on a new site?

TIA & regards,

John Davies

Replies are listed 'Best First'.
Re: [OT] Source code repositories
by Corion (Patriarch) on Mar 22, 2015 at 12:35 UTC

    If you want to host your own, there is Gitprep, a Github clone in Perl. There also is Gitlab, another self-hosted git repository.

    Github claims that you can interact with it mostly from the command line, but I haven't done this.

      Github claims that you can interact with it mostly from the command line
      See Ingy's git-hub for an interesting way how to do it.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      > There also is Gitlab, another self-hosted git repository.

      Some background:

      Unfortunately Gitorious was acquired by Gitlab which is a payed service.

      And I understand the OP saying:

      > > I'm not in the business of paying in order to give my work away free, so migrating to Gitlab doesn't appeal.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)

      PS: Je suis Charlie!

        I thought that you can self-host your own Gitlab instance, and at least Google finds some pages that don't immediately contradict this. I've never used Gitlab, so I don't know how good/usable Gitlab is and also don't know if self-hosting is an option at all though.

        I guess ingys git-hub package is more likely to be usable if collaboration is the point of public hosting.

Re: [OT] Source code repositories
by Your Mother (Archbishop) on Mar 22, 2015 at 17:13 UTC

    There‘s also bitbucket which I like and use since private repos are free there and for pay on github though github‘s features and things like travis-ci.org integration are better.

    I use github mostly from the command line. But I love the site when I need it or the rare occasion I want to do an edit on another person’s computer.

    (which I don't like because of its insistence on Javascript)

    This is 2015. Resisting JS at this point isn’t just anachronistic, it's full on Luddite.

Re: [OT] Source code repositories
by soonix (Canon) on Mar 22, 2015 at 22:52 UTC

    The subthread Re^2: [OT] Source code repositories prompted me to look at Gitlab's website. They do prominently advertise their Enterprise Edition in the center, with a "pricing" button, but surrounded by a download button ("Download and install the open source GitLab CE in 2 minutes", it even looks like you can install from source) and a sign up button for "Free hosting for private repos" (the sign up page says "In the future we might charge for projects over 5GB", but from your OP it seems unlikely that you'll hit that limit).

    Their using proprietary software for hosting doesn't change the license you use for the code you host there, so, while you're looking for a more appealing hosting facility (perhaps one of the monks hosts a gitprep(*) instance and lets you in), at least as a preliminary solution they don't seem downright appalling :-)

    (*) Update 2016-05-09: Link rot, now https://github.com/yuki-kimoto/gitprep / http://gitprep.yukikimoto.com/
Re: [OT] Source code repositories
by RonW (Parson) on Mar 23, 2015 at 15:31 UTC

    If you aren't adverse to switching to a different DVCS, I use Fossil and Chissel App

    It can import from Git.

    Fossil is more like Hg than Git, is just a single executable, so is easy to install, and can function as its own server, so is easy to sync my projects between my laptop and desk PCs (without relying on an external service or eating up my bandwidth quota).

    Update: Forgot to mention that Fossil has built-in issue tracking and wiki.

      can function as its own server, so is easy to sync my projects between my laptop and desk PCs

      This describes git as well. It’s part of the point of decentralized RCSes. Comparisons links/discusssions: What is the Difference Between Mercurial and Git?

        My experience with trying to sync Git between my PCs was less than satisfactory. Maybe it's gotten better.

        The article you linked had the following:

        I was put off by the shell/Perl/Ruby scripts I got with Git. Try taking a peek at the git-instaweb.sh file if you want to know what I mean: it is a shell script which generates a Ruby script, which I think runs a webserver. The shell script generates another shell script to launch the first Ruby script. There is also a bit of Perl, for good measure.

        While I was amused at the Perl comment, overall it seems to confirm my earlier experience with Git.

        With Fossil, on one PC I can run fossil server&, then on the other, fossil pull (or "push" or "sync"). Actually, I leave the Fossil server running on both PCs so I can sync from either one (or even turn on "auto sync").

      Yep, I do use fossil on my PC as well.

      Advantages I see as compared to git/Hg:

      • integrated wiki and ticket system (although a bit rudimentary)
      • repository can be outside of the source tree, so an "accidental" rm -r doesn't kill the repo, even if it was not distributd…
      • repository is a single file, distribution not only via push/pull/etc., but also via simple copying of one file

      (for the OP probably only the first point is of importance)
Re: [OT] Source code repositories
by stonecolddevin (Parson) on Mar 25, 2015 at 16:30 UTC

    What's wrong with Github? I think the only interaction that you have to have with the website is maybe creating the repo. Everything else is just git.

    Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1120877]
Approved by marto
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found