There is no way to synchronize it automatically, I cannot define a cron job for this.
Giovanni
Git not tracking Topic is solved
- 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
I believe what SourceForge offered is the automatic sync.
https://sourceforge.net/p/forge/documentation/Git/
How about follow the steps in the Management section, and try it for a few day. If it is not automatic synced, you can close the git feature.
https://sourceforge.net/p/forge/documentation/Git/
How about follow the steps in the Management section, and try it for a few day. If it is not automatic synced, you can close the git feature.
Re: Git not tracking
I do a little test on SF by creating my repo and enable the git feature.
It would not automatically sync. the svn and git are two independent repos !!!! Sorry for oversimplifing this. Maybe I should try an extra webhook or something.
It would not automatically sync. the svn and git are two independent repos !!!! Sorry for oversimplifing this. Maybe I should try an extra webhook or something.
Re: Git not tracking
A tool named subgit may fit our need, but it looks heavy and also require hook config.
https://subgit.com/remote-book.html#pre ... hange_hook
Maybe we should stick to the git-svn tools...
https://subgit.com/remote-book.html#pre ... hange_hook
Maybe we should stick to the git-svn tools...
- 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
Hi,
The tool is written in Java and there is no Java runtime support on SF.
You could make an automatic update to your local git, the result would be basically the same. Both windows and linux allow to schedule jobs.
Giovanni
The tool is written in Java and there is no Java runtime support on SF.
You could make an automatic update to your local git, the result would be basically the same. Both windows and linux allow to schedule jobs.
Giovanni
- 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
I will look into making a daily cron job to run on Travis based of wurstnase commands.
- 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:
- 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
Hi, I have it working now.
Here is the travis config + script:
https://github.com/korken89/travis_chibi
Here is my current place where Travis uploads it:
https://github.com/korken89/ChibiOS
Here is the travis:
https://travis-ci.org/korken89/travis_chibi
Instructions to set it up:
1. Generate a personal access token on Github
2. Create an environment variable in Travis named TRAVIS_TOKEN with the personal access token
3. Create the chibios repository (where it should go, ChibiOS in my case)
4. Update the script with the correct path to the chibios repository (REMOTE_URL)
5. Enable travis on the travis_chibi
6. Push everything to make travis run
7. Set up a daily cron job on travis_chibi in its settings
8. ???
9. Profit
Here is the travis config + script:
https://github.com/korken89/travis_chibi
Here is my current place where Travis uploads it:
https://github.com/korken89/ChibiOS
Here is the travis:
https://travis-ci.org/korken89/travis_chibi
Instructions to set it up:
1. Generate a personal access token on Github
2. Create an environment variable in Travis named TRAVIS_TOKEN with the personal access token
3. Create the chibios repository (where it should go, ChibiOS in my case)
4. Update the script with the correct path to the chibios repository (REMOTE_URL)
5. Enable travis on the travis_chibi
6. Push everything to make travis run
7. Set up a daily cron job on travis_chibi in its settings
8. ???
9. Profit
Last edited by Korken on Sun Dec 17, 2017 5:32 pm, edited 1 time in total.
- 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
You can see the cron job running here:
https://travis-ci.org/korken89/travis_chibi/builds
https://travis-ci.org/korken89/travis_chibi/builds
Re: Git not tracking
Korken wrote:Hi, I have it working now.
Here is the travis config + script:
https://github.com/korken89/travis_chibi
Here is my current place where Travis uploads it:
https://github.com/korken89/ChibiOS
Here is the travis:
https://travis-ci.org/korken89/travis_chibi
Instructions to set it up:
1. Generate a personal access token on Github
2. Create an environment variable in Travis named TRAVIS_TOKEN with the personal access token
3. Create the chibios repository (where it should go, ChibiOS in my case)
4. Update the script with the correct path to the chibios repository (REMOTE_URL)
5. Enable travis on the travis_chibi
6. Push everything to make travis run
7. Set up a daily cron job on travis_chibi in its settings
8. ???
9. Profit
Great Job.
Who is online
Users browsing this forum: No registered users and 11 guests