Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Read-only Git, SVN Repo for Code::Blocks

<< < (9/14) > >>

ollydbg:

--- Quote from: jens on December 21, 2013, 10:57:31 am ---I just played with cgit to make it usable with nginx and uwsgi.
To test it I created a test repo (also readonly) including C::B and wxWidgets in http://cgit.jenslody.de.

I did not convert all branches and tags to git, just trunk and the actual revisions.

--- End quote ---
Thanks.
Will try it now.

Is it possible to use this git clone, and then after some development, commit back to our official SVN repo?
(git-svn to check out all the SVN history takes too long time, so I would like to use some git clone directly)
Thanks.

Jenna:

--- Quote from: ollydbg on December 21, 2013, 11:48:53 am ---Is it possible to use this git clone, and then after some development, commit back to our official SVN repo?
(git-svn to check out all the SVN history takes too long time, so I would like to use some git clone directly)
Thanks.

--- End quote ---
I don't think so, because if you use just git to clone, you do not get the svn-information.

ollydbg:

--- Quote from: jens on December 21, 2013, 11:57:59 am ---
--- Quote from: ollydbg on December 21, 2013, 11:48:53 am ---Is it possible to use this git clone, and then after some development, commit back to our official SVN repo?
(git-svn to check out all the SVN history takes too long time, so I would like to use some git clone directly)
Thanks.

--- End quote ---
I don't think so, because if you use just git to clone, you do not get the svn-information.

--- End quote ---
Thanks. I see your git is mirrored from the SVN reop(have svn information, at least in the log message), so if I clone your git repo, that information is also contained.

BTW: Let me ask such question on Stackoverflow.

Jenna:

--- Quote from: ollydbg on December 21, 2013, 12:03:13 pm ---
--- Quote from: jens on December 21, 2013, 11:57:59 am ---
--- Quote from: ollydbg on December 21, 2013, 11:48:53 am ---Is it possible to use this git clone, and then after some development, commit back to our official SVN repo?
(git-svn to check out all the SVN history takes too long time, so I would like to use some git clone directly)
Thanks.

--- End quote ---
I don't think so, because if you use just git to clone, you do not get the svn-information.

--- End quote ---
Thanks. I see your git is mirrored from the SVN reop(have svn information, at least in the log message), so if I clone your git repo, that information is also contained.

BTW: Let me ask such question on Stackoverflow.

--- End quote ---
But the real svn-information is missing (svn-subfolder in the .git-directory).
You can try to download http://apt.jenslody.de/downloads/codeblocks.git.tar.xz.
That's the whole packed .git-folder of my C::B-mirror.
If you unpack it you should have the whole git-svn clone with actual revisions from today.
It's an anonymous checkout, so to use it for commit you probably have to switch the (base-)url.

ollydbg:
Thanks Jens, I have download your codeblocks.git.tar.xz, but in-fact I don't have much knowledge to handle this.

Refer to some questions and answers from Stackoverflow, such as:
http://stackoverflow.com/questions/268736/git-svn-whats-the-equivalent-to-svn-switch-relocate
http://www.sanityinc.com/articles/relocating-git-svn-repositories/

It looks like the SHA number is depend on the SVN URL of the repo.

For example, I have a partial clone(not the full svn history, just some revisions since 2013 May) of our svn repo, the last commit show is:

--- Code: ---SHA-1: 19da0597d2f93510a79d58126ee8b816ac58706d

* * compiler: fix MinGW auto detection, we actually distribute 'mingw32-make' (not 'make')

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9492 2a5c6006-c6dd-42ca-98ab-0921f2732cef

--- End code ---

Now, I read this information from your cgit web interface:  http://cgit.jenslody.de/codeblocks/commit/?id=a8fd2cf9415f205012f5389fde815a867061924b


--- Code: ---author alpha0010 <alpha0010@2a5c6006-c6dd-42ca-98ab-0921f2732cef> 2013-12-16 16:21:24 (GMT)
committer alpha0010 <alpha0010@2a5c6006-c6dd-42ca-98ab-0921f2732cef> 2013-12-16 16:21:24 (GMT)
commit a8fd2cf9415f205012f5389fde815a867061924b (patch)
tree 95187bd26694326a05809d029ffe0838e41d88bc
parent f2595380d8339b12d58bcf4be63e61244304e311 (diff)
download codeblocks-a8fd2cf9415f205012f5389fde815a867061924b.tar.bz2
codeblocks-a8fd2cf9415f205012f5389fde815a867061924b.tar.xz
* compiler: fix MinGW auto detection, we actually distribute 'mingw32-make' (not 'make')HEADmaster
git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9492 2a5c6006-c6dd-42ca-98ab-0921f2732cef
--- End code ---

From biplab's cgit page: http://cb.biplab.in/cgit/codeblocks/commit/

--- Code: ---author Alpha 2013-12-16 16:21:24 (GMT)
committer Alpha 2013-12-16 16:21:24 (GMT)
commit 313b1688b4e96cd2e2eb7fab4c7c1404c5d99eb8 (patch)
tree 95187bd26694326a05809d029ffe0838e41d88bc
parent 8b5ad1b3301805ada8aa26500ce29e226fa07d23 (diff)
download codeblocks-master.zip
codeblocks-master.tar.gz
codeblocks-master.tar.bz2
* compiler: fix MinGW auto detection, we actually distribute 'mingw32-make' (not 'make')HEADmaster
git-svn-id: svn://svn.code.sf.net/p/codeblocks/code/trunk@9492 2a5c6006-c6dd-42ca-98ab-0921f2732cef

--- End code ---

We have different URLs, for me, I need to use the URL support write access, so I use https, yours is http, and biplab is svn.


BTW: I have check OBF's

Here, in SVN 9482, it is https://github.com/obfuscated/codeblocks_sf/commit/4a62342a9b7089a399d88d13e239b10cb0e562a1

--- Code: --- * reverted revision 9482, as it is not working under Windows

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9487 2a5c6006-c6dd-42ca-98ab-0921f2732cef

--- End code ---

and mine is:

--- Code: ---SHA-1: 0f5e0bf3386695c15051c922b67f4e7b72151215

* * reverted revision 9482, as it is not working under Windows

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9487 2a5c6006-c6dd-42ca-98ab-0921f2732cef

--- End code ---

Look, we have different SHA number even we have same SVN URL.  :(



Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version