Version control for PBP files/projects.


Closed Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516

    Default Version control for PBP files/projects.

    Hi,
    I'm interested to hear if anyone on the forum is using some sort of revsion control system, in general and for PBP specifically.

    I know there's Git and that it's very popular in the open source community, but in my case it's really just me doing the development and Git seems a bit complicated. I prefer not to have to do a lot of command line stuff and for that reason I'm leaning towards Tortoise HG (using Mercurial). Anyone used it?

    Am I overdoing it, should I just stick to making copies of the file(s), you know, NewProject_1_test2_old.pbp.....

    /Henrik.

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,588


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    You're not overdoing it if you're getting benefits out of going that complicated.

    I just copy a project to a higher version number, ProjectName V1.

    If I'd go commercial, I'd go ProjectName V1.00, to have room for small updates.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  3. #3
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    Take a look at fossil-scm.org It might be all you need even if you choose to scale up someday. I am just a happy user of fossil.

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    Thanks Jerson,
    Looked at Fossil, like the fact that it's self contained, don't like the command line interface but guess I could get used to it. See it had web ui so downloaded, "installed", fossil init test.fossil, fossil ui test.fossil, launced webbrowser pointing at local host/8080 but "page can't be displayed". Tried that on two machines (both W7 64bit) with same result. Tried disabling Windows Firewall, same thing. Tried fossil open test.fossil and then launching the ui again, same thing.

    Any ideas whatI might be doing wrong?

    Leaning towards Mercurial with Tortoise HG even though it's much more than I need.

    /Henrik.

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    I use fossil from the command line. Not very difficult to do. When you want to check the UI, just launch fossil from the command line with
    fossil ui.

    You get a nice user interface running in your browser. You can take a look at Jim Schimpfs book http://www.fossil-scm.org/schimpf-book/home

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,383


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    Henrik try this, hats off to jerson for a great find

    step 1 made a folder called fossil, copied fossil.exe into it (rather than put it in the windows path)

    step 2 ran {fossil new fossil/pbp.fossil}
    got this
    C:\Users\rc>fossil new fossil/pbp.fossil
    project-id: adf8f538c6ca487edd847aee786a6032e350646a
    server-id: c4bdc7ffab0f9f76cc944f05946861656111e406
    admin-user: rc (initial password is "c06c08")

    step 3
    copied some pbp files into this folder
    ran {fossil add .}
    got a messAGE saying files added
    ran {fossil commit -m "initial values"}
    ran {fossil ui } , it opens browser see the files

    step 4

    edited a file and saved it [in that folder]
    ran {fossil update}
    ran {fossil commit -m "updated values"}
    ran {fossil ui } , it opens browser with commented update ; lovely
    Warning I'm not a teacher

  7. #7
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    Just in case you want to check some other simple but good obsolete programs

    ZIP style backup tool ABAKT http://alternativeto.net/software/abakt/
    and version backup http://www.versionbackup.sb-aw.com/download.html

    Fossil supersedes them all

  8. #8
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    Thanks Richard,
    I managed to get it working. I think what I was missing was actually addind files to repository, it's not enough to just run inside in a folder with files in it (yes, I AM new to this...) I suspect that the webserver/ui didn't work because I pointed it to an empty (but initialized) repo though I'd expect some sort of message indicating what the problem was.

    Thank you Jerson for pointing me to it, and thank you also for the link to the book! I'll take a look at that.
    Despite being command line I think I'm going to give it a shot, it's small and self contained and that does appeal to me. Apparently there a GUI tool (called Fuel) for it too though it's not as nicely integrated into the Windows Explorer as Tortoise HG seems to be - for good and bad of course.

    Thanks again guys, and if you have any hint, tips, tricks etc please post them!

    /Henrik.

  9. #9
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    The wiki page here shows how to get your feet wet and running in 5 minutes. This is for those who are curious about fossil

    fiveminutes.wiki

    You should try the compare revisions function in there.

  10. #10
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,611


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    Hi, Henrik

    you had lost or missed that one ???

    boooooo .....

    available from here ... http://www.astrosurf.com/soubie/serialisateur.htm
    Attached Files Attached Files
    Last edited by Acetronics2; - 28th October 2016 at 23:39.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  11. #11
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,516


    Did you find this post helpful? Yes | No

    Default Re: Version control for PBP files/projects.

    Yes, I had missed that. Thanks for pointing it out.
    I don't Think it does quite what I want though. I've played around a little bit (and read quite a bit) with Fossil and have decided to give it a go.

    /Henrik.

Similar Threads

  1. PBP projects for R/C models
    By malc-c in forum Code Examples
    Replies: 771
    Last Post: - 21st October 2016, 13:56
  2. Multiple version of PBP on same computer
    By Sneaky-geek in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 26th January 2014, 09:00
  3. Version Control
    By btaylor in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 16th October 2011, 18:12
  4. New PBP version - Gold version - Is it really worth it?
    By financecatalyst in forum General
    Replies: 20
    Last Post: - 8th October 2011, 02:34
  5. Better human interface for PIC/PBP projects
    By BrianT in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 10th August 2011, 12:18

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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