Full service web hosting, great prices and support. Starts at $1.99/month!
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Subversion Repository

  1. #1
    pigdestroyer
    Guest


    Default Subversion Repository

    Does osCMax have a public/private subversion repository?

    I think one of the things I find frustrating about working with osCommerce as a whole is the amount of comments and jumbled code that ends up all over the shop (erm....not funny) that could be removed and still maintained using version control.

    It also seems and that lots of people have solutions to problems that could be commited to a private branch for merging with the main project, and would probably save lot of other people who are willing to hack the code quite a bit of time. For instance I have had a few solutions in the past I'd quite like to hand back to others and this might be the best way to do it.

    Or is this a silly idea?

  2. #2
    osCMax Developer


    Subversion Repository


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Subversion Repository

    It is a great idea, and I am all for it actually. I just have not had the time to set up a repository on a public server. It is a bit beyond my skill set to be able to set up a secure repository with public and private access.

    If you or anyone else wants to volunteer to set up the repository, let me know and we can get things rolling.

  3. #3
    pigdestroyer
    Guest


    Default Re: Subversion Repository

    Well, since noone else volunteered and I've just discovered that google themselves do subversion hosting I have set up a respository and I'll be importing the latest release code base into trunk and tagging it as the latest release. I'd really like to get this going and will help where I can to do merging, organising, testing. I think osCMax has alot to offer and this could help speed up and improve delivery of bug fixes.

  4. #4
    osCMax Developer


    Subversion Repository


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Subversion Repository

    Hey,

    Before you move ahead with this, I would like to maintain administrative control over the repository since I have grown quite attached to the project, and want to assure that osCMax continues to move in the right direction.

    I added a project over at google code (I just noticed that you did too...sorry about duplicating effort there).

    Ok, so who should be allowed to commit to the repository?

  5. #5
    pigdestroyer
    Guest


    Default Re: Subversion Repository

    Sorry, wasn't trying to jump the gun and assume control I can see that you've now got an oscmax2 google code repository now.

    The way I see it, all of the clean/working code (or as far as we can test for) should go into trunk and at stages where a particular feature is deemed finished or release finished it should be tagged with the version number.

    If someone wishes to work on a feature or submit a bug fix a copy of trunk should be copied to branches/<username>/ and they should checkout that branch and make all commit back to that. No one should commit directly back to trunk it should only be merged by the repository admin so they can decide if the changes were indeed a fix, correct or necessary. Perhaps only fixes initially should be allowed because there might not be a publicly accessible roadmap for the project

    I haven't look closely at google code to see how much flexability, or whether you can limit write access to certain branches to certain people, etc. If you can that's great. But if you only allow members to contribute and you are sure they are all working on their own branches it could work well.

    Anyway just a few ideas

  6. #6
    osCMax Developer


    Subversion Repository


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Subversion Repository

    How Google code works, it looks like only members/admins can upload code. I will have to play around with it to see exactly what can be done.

    I have added you as a member of the project, so if you want to test out creating a branch for you to work on, feel free to do so.

    I do not see any methods for restricting access, but as long as we (all coding members) agree to some basic ground rules as to how changes will be added, I think trust will be good enough.

    I like your thoughts on creating branches for members to work on, and only committing to the trunk after testing the branch. I am going to test out how to do this through Google and hopefully we will get a good procedure going.

  7. #7
    jpf
    Guest


    Default Re: Subversion Repository

    We sort of discussed it a while back as well - but I have had other issues to deal with the last year and a bit.

    I setup a Demo site a while ago and has started playing with SVN and CVS etc...

    I tried a few client server version like: CVS, SVN and OpenCVS but did not go much beyond that at the time. I did not look much at Distribution type - due to the lack of control and branching control that could (potentially) go way out of whack.

    I have not looked into other hosted solutions.

  8. #8
    osCMax Developer


    Subversion Repository


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Subversion Repository

    Ok, looks like we are getting things rolling. I have made my first attempt at a branch and so has pigdestroyer.

    Next, I have started the RC4 branch, and currently I am working on adding in all the updates from osCommerce.com to bring the code up to date with the MS2 RC1 release. I am about 60% done with it, and should have it added to my svn branch sometime this week.


    Jason, pm me your gmail address and I will add you to the mix

  9. #9
    osCMax Developer


    Subversion Repository


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    597


    Default Re: Subversion Repository

    Just an update, I have finished adding in all the osC bugfixes up to the osCommerce 2.2 RC1 release and the code is now up to date. I will be commiting it to the RC4 branch Thursday or Friday for testing if you want to grab the files then.

  10. #10
    Nimitz_1061
    Guest


    Default Re: Subversion Repository

    Michael,

    I have some experience with Subversion, including hook scripts which can be helpful in matching commits to bug tracker entries and/or task manager entries. If you like, I would be happy to lend a hand here.

    I beleive version control can be quite helpful in building code quality, though my experience is that without some structured approach to documenting code decisions the value is seriously degraded.

    I can in fact, manage a complete SVN server installation if necessary.

    Regards,

    David

Page 1 of 2 12 LastLast

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •