Page 1 of 5

Git repositories move to https://tt-rss.org

Posted: 25 Jul 2015, 13:20
by fox
I'm going to be migrating my git repositories off Github back to https://tt-rss.org. You will have to update origin URL your local copy points to:

Code: Select all

git remote rm origin
git remote add origin https://tt-rss.org/git/tt-rss.git


You do NOT need to clone anything again.

Various other projects can be cloned using URLs like https://tt-rss.org/git/tt-rss-android.git. You can also use the URL Gitlab UI shows you.

Sorry for any inconvenience.

FAQ

Q: Oh no! How do I send pull requests?
A: viewtopic.php?f=10&t=3432&p=20510#p20510

Q: How do I get code access on gitlab?
A: Register and post an issue to the project you're interested in. It would probably be good idea to mention why, btw.

Re: Git repositories change

Posted: 25 Jul 2015, 14:28
by cy8aer
or just

Code: Select all

git remote set-url origin https://tt-rss.org/git/tt-rss.git

Re: Git repositories change

Posted: 25 Jul 2015, 14:46
by nameless
Whats the reason for moving away from github?

Re: Git repositories change

Posted: 25 Jul 2015, 14:49
by reibuehl
For git pull to work after the changes, I had to run one additional command:

git branch --set-upstream master origin/master

With just your two commands, a git pull results in

There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream master origin/<branch>

Best regards,
Reiner

Re: Git repositories change

Posted: 25 Jul 2015, 15:21
by cy8aer
@nameless: fox tends to self-host.
@fox (if you have too much time): do you know kallithea: https://kallithea-scm.org - like github but simple to self host.

Re: Git repositories change

Posted: 25 Jul 2015, 15:35
by fox
i'll take a look later, thanks

Re: Git repositories change

Posted: 25 Jul 2015, 15:57
by nameless
there's gitlab aswell.
we using gitlab at the company i am working at.
we use gitlab enterprise but there's also a community edition which is free and open source.
https://about.gitlab.com/features/#community

edit: let me elaborate. gitlab is great peace of software but it is pretty mighty. i can probably replace your entire redmine installation.
i don't know if this something you want to tackle. :roll:
thank again it feels much more convinient than Kallithea.

Re: Git repositories change

Posted: 25 Jul 2015, 17:44
by fox
im not exactly in love with redmine, its p clunky

Re: Git repositories change

Posted: 25 Jul 2015, 17:52
by nameless
checkout gitlab then.
installation is pretty easy if you don't mind adding third party repos to your system.

Re: Git repositories change

Posted: 25 Jul 2015, 18:06
by fox
nameless wrote:Whats the reason for moving away from github?


i like to host my own stuff

Re: Git repositories change

Posted: 25 Jul 2015, 18:15
by fox
nameless wrote:checkout gitlab then.
installation is pretty easy if you don't mind adding third party repos to your system.


gitlab seems ok, i'm not gonna go with the omnibus because i run other stuff on it so i'll have to integrate all of it together anyway

shameful lack of redmine wiki importing is bad but eh

Re: Git repositories change

Posted: 25 Jul 2015, 19:18
by Skibbi
Phabricator is also worth mentioning. Pretty neat and well optimized software.

Re: Git repositories change

Posted: 25 Jul 2015, 19:29
by nameless
i have used both and i by far prefer gitlab.

Re: Git repositories change

Posted: 25 Jul 2015, 19:31
by fox
i have gitlab running if somewhat slowly at the moment (well, redmine and shit are in the background)

migrating wiki is the only part that's left, at least major pages like installation guide

Re: Git repositories change

Posted: 25 Jul 2015, 19:40
by nameless
does your vm meet the system requirements?
importing wikis from redmine indeed does look like a bit of a hassle.
all i found is this dunno if this helps though
https://github.com/yukkyna/redmine-export-project-data