Git not tracking Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Location: Luleå, Sweden
Has thanked: 5 times
Been thanked: 6 times
Contact:

Git not tracking  Topic is solved

Postby Korken » Thu Dec 14, 2017 12:50 pm

Hi all,

It seems that the Git mirror is no longer tracking the SVN repository.
Last commit was about 1.5 months ago (Nov. 4), while the SVN was updated a few days ago.

Best
Emil

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Git not tracking

Postby Giovanni » Thu Dec 14, 2017 1:21 pm

Hi,

That repository is maintained by efforts of volunteers, I am not administrator of that repository.

I recommend using the official release or the subversion trunk if you are interested to the latest code.

Giovanni

User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Location: Luleå, Sweden
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: Git not tracking

Postby Korken » Thu Dec 14, 2017 2:13 pm

Ah, I see. Who is responsible for it?
We could move it to CI and make it run as a cron job. :)

User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

Re: Git not tracking

Postby tfAteba » Thu Dec 14, 2017 4:13 pm

Hi Korken,

Others members have also point out the same problem.

The members in charge of the git repository are Barthess and Utzig, I will try to contact them but it is not easy because there are not connected all the time.

I will tell them about your idea if I can be in touch with one of them. But Is there a need to be a maintainer to make a Cron job as you suggest??

Thanks.
regards,

Theo.

User avatar
aGuegu
Posts: 29
Joined: Thu Dec 07, 2017 4:15 am
Has thanked: 1 time
Been thanked: 5 times

Re: Git not tracking

Postby aGuegu » Fri Dec 15, 2017 5:09 am

It is Giovanni's decision to choose where to host this great project.

Stick to SF is fine. SF supports git too.

https://sourceforge.net/p/forge/documentation/Git/

All we hope is add git support to the repo.
Management
Git service may be enabled for your project as follows:
Login as a project administrator and:
Click the "Add New..." link in the project menu bar
Click on Git.
Select a name for the label (this will determine the title of the link in the project navigation)
Select a Url Path
Those instructions may be repeated using a different label and path to create multiple repositories.
The standard way to modify the contents of your repository is using a Git client as detailed in the Git User's Manual. Refer to the Getting Started section for how to make your first commit to your new repository.


all we need is a read-only access.

User avatar
Korken
Posts: 270
Joined: Wed Apr 02, 2014 4:09 pm
Location: Luleå, Sweden
Has thanked: 5 times
Been thanked: 6 times
Contact:

Re: Git not tracking

Postby Korken » Fri Dec 15, 2017 9:14 am

@aGuegu This is awesome!

Giovanni, can you enable the read only Git support in SF?
Then we don't have to have all these discussions any more :)

User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times
Contact:

Re: Git not tracking

Postby wurstnase » Fri Dec 15, 2017 10:02 am

I'm using git to load the branches. When I'm at home, I can write a small tutorial. It's pretty simple and needs no modifications on the server.
\o/ Nico

User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times
Contact:

Re: Git not tracking

Postby wurstnase » Fri Dec 15, 2017 2:52 pm

First let's grab some old history. Currently we are at 11142. So as you wish, add your preferred value. Closer to the current one is faster.
I took 10000 and this takes around 20 minutes on my computer.

Code: Select all

git svn clone -r10000:HEAD https://svn.code.sf.net/p/chibios/svn/ -T trunk -b branches -t tags


Check the remote branches:

Code: Select all

git branch -r

  origin/chibios_components_trunk
  origin/chibios_lazarus
  origin/chibistudio_trunk
  origin/rt5_dev_point1
  origin/sama5d2_dev
  origin/spc5studio_components_sprint15
  origin/stable_16.1.x
  origin/stable_17.6.x
  origin/tags/ver16.1.6
  origin/tags/ver16.1.7
  origin/tags/ver16.1.8
  origin/tags/ver16.1.9
  origin/tags/ver17.6.0
  origin/tags/ver17.6.1
  origin/tags/ver17.6.2
  origin/tags/ver17.6.3
  origin/trunk


Let's checkout a branch the first time:

Code: Select all

git checkout -b trunk origin/trunk


Next time checkout:

Code: Select all

git checkout trunk


Update local branch:

Code: Select all

git checkout trunk
git svn rebase


All this things I've found here: https://stackoverflow.com/questions/323 ... ng-git-svn
\o/ Nico

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Git not tracking

Postby Giovanni » Fri Dec 15, 2017 3:01 pm

Git allows to import a subversion database with a single command, everybody can make its own git ChibiOS repository so it is not a big issue: https://git-scm.com/docs/git-svn

My personal preference is subversion, I think this will not change.

Giovanni

User avatar
aGuegu
Posts: 29
Joined: Thu Dec 07, 2017 4:15 am
Has thanked: 1 time
Been thanked: 5 times

Re: Git not tracking

Postby aGuegu » Fri Dec 15, 2017 3:56 pm

subversion is okay.

All I ask is enabling the parallel git feature provided by sourceforge. It would not affect the subversion usage.

svn to git is no big deal. Despite everyone does it on their own, why not let SF do it for all of us? Just a few click would do the job.

Please please please.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 14 guests