Author Topic: I found a git repo of our svn  (Read 1880 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5219
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
I found a git repo of our svn
« on: October 10, 2018, 05:47:08 pm »
Hi, I just found an interesting github repo which synchronize every day with our svn.

svn2github/CodeBlocks: GitHub clone of SVN repo http://svn.code.sf.net/p/codeblocks/code/trunk/ (cloned by http://svn2github.com/)

It looks like the site: http://svn2github.com/ is quite interesting.
« Last Edit: October 11, 2018, 05:36:38 pm by ollydbg »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6534
    • My Best Post
Re: I found a git repo of our svn
« Reply #1 on: October 10, 2018, 11:32:43 pm »
https://github.com/svn2github/CodeBlocks

Your URL had issues when I clicked on it.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5219
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: I found a git repo of our svn
« Reply #2 on: October 11, 2018, 05:37:24 pm »
Hi, Tim, thanks. I fixed it in the post.  :)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline cacb

  • Regular
  • ***
  • Posts: 389
Re: I found a git repo of our svn
« Reply #3 on: November 14, 2018, 06:59:32 pm »
Hi, I just found an interesting github repo which synchronize every day with our svn.

Why has Code::Blocks not moved to GitHub? It is the most common place to be these days, svn is not the hottest any longer. A couple of days ago I wanted to upgrade my Code::Blocks on my Kubuntu 18.04 box, but there was no binary and not a source link from the Nightly Builds thread. So I searched my mind and remembered I had used https://github.com/obfuscated/codeblocks_sf before and tried that again. It worked very well, so I think it would be good if Code::Blocks used GitHub or at least promoted such a clone.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11767
    • Travis build status
Re: I found a git repo of our svn
« Reply #4 on: November 14, 2018, 08:04:51 pm »
Why has Code::Blocks not moved to GitHub?
Would you start to contribute/contribute more to C::B if we move to github? This is the only question that matters. Everything else is not that different. And there are plenty of cb clones on github. Interestingly mine is not on the first page with google results. :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline J.

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: I found a git repo of our svn
« Reply #5 on: November 20, 2018, 11:02:23 pm »
Would you start to contribute/contribute more to C::B if we move to github? This is the only question that matters.
Yes.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11767
    • Travis build status
Re: I found a git repo of our svn
« Reply #6 on: November 20, 2018, 11:40:46 pm »
Why would you not contribute if we're not on github?

p.s. keep in mind that git patches are still accepted and often these are the kind of patches I apply. We cannot git merge branches or do automatic pull-requests (which are stupid anyway).
« Last Edit: November 20, 2018, 11:42:23 pm by oBFusCATed »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jimbo

  • Multiple posting newcomer
  • *
  • Posts: 43
Re: I found a git repo of our svn
« Reply #7 on: November 21, 2018, 05:43:19 pm »
We are internally all git (with some github external stuff, and gitlab internal repos). So everyone know (as far as anyone can!) git and its way of working. Cannot say the same about SVN. Although I have used it in the past, I cannot remember a single thing about it! So from our point of view, and working for a company who are likely to do some CB dev work in the near future, git is obviously a easier route in to it. It also means we could use it easily internally, making it easier to push out PR's

That said, I've cloned the SVN stuff using some sort of git-svn process, and do have a git tree of the SVN repo. Took forever to clone it, but it's here now, so will see how well that works.

Jimbo

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11767
    • Travis build status
Re: I found a git repo of our svn
« Reply #8 on: November 21, 2018, 07:15:35 pm »
@jimbo: This is not problem for me, if you search for git clones of the cb repo you'll find multiple such clones. One of them is maintained by me. I also don't use svn.

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jimbo

  • Multiple posting newcomer
  • *
  • Posts: 43
Re: I found a git repo of our svn
« Reply #9 on: November 22, 2018, 12:02:56 pm »
@jimbo: This is not problem for me, if you search for git clones of the cb repo you'll find multiple such clones. One of them is maintained by me. I also don't use svn.

Cool. I'm guessing your repo is always pretty up to date with the base SVN? So cloning it would be a easy in for us. Will do that.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11767
    • Travis build status
Re: I found a git repo of our svn
« Reply #10 on: November 22, 2018, 12:14:47 pm »
I try to keep it updated, but the process is manual, so there are delays.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline J.

  • Multiple posting newcomer
  • *
  • Posts: 37
Re: I found a git repo of our svn
« Reply #11 on: November 26, 2018, 04:02:57 pm »
Why would you not contribute if we're not on github?
Because of simple in place patch maintenance and discussion, instead of sending patches around/attaching patches to posts. That makes life a lot easier.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11767
    • Travis build status
Re: I found a git repo of our svn
« Reply #12 on: November 26, 2018, 05:32:37 pm »
What do you mean?
That a C::B developer can review your code in github from your pull request UI?
This is not a problem already...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]