Start a further stage of a project keeping the basis version safe and available lazarus / 13-General ---------------------------------------------------------------------- Relativity · 2016-06-27 14:31 I have developed one project up to a certain stage, which is consolidated and I am satisfied with: let's call it "basis version". Now I would like to start developing a further stage of the same project - lets' call it "advanced version A" - working in a certain direction, but keeping the "basis version" untouched and available, because later I intend to develop another advanced version, based on the "basis version" as well, but developed differently - let's call it "advanced version B". How should I proceed at best to start with the development of "advanced version A" ? Should I use "Save Project As..." , giving it a new name than the "basis version" ? Or should I use "Publish Project" ? Or anything else ? Thanks. ---------------------------------------------------------------------- JanRoza · 2016-06-27 14:43 Most of the time I just duplicate the project folder and rename the copy to something like 'projectname - version 1'. From that moment on I continue my work on the original folder and leave the version 1 folder alone as archive (also handy as backup). ---------------------------------------------------------------------- Ñuño_Martínez · 2016-06-27 14:44 Pack the "basis version", create a new project (i.e. "advanced version A"), then add the packed "basis version" to it.  Repeat and profit. ---------------------------------------------------------------------- marcov · 2016-06-27 20:53 Commit the relevant files to a version system like e.g. SVN. With affordable raspberry pi's, it is very doable to have a home SVN server, which also makes it more easy to work with the sources on multiple machines ---------------------------------------------------------------------- Relativity · 2016-06-28 07:46 Ñuño_Martínez, what do you mean exactly with "Pack the 'basis version'" ? What do you mean with "packing" ? And what do you mean by "add the packed 'basis version' to it" ? To copy the "basis version" in the new project folder ? Thank you. ---------------------------------------------------------------------- guest58172 · 2016-06-28 08:01 Quote from: marcov on June 27, 2016, 10:53:26 pmCommit the relevant files to a version system like e.g. SVN. With affordable raspberry pi's, it is very doable to have a home SVN server, which also makes it more easy to work with the sources on multiple machines Or git, with branches. There's also git server systems or more simply it's possible to create a bare repository on a usb key. When you want to work on th basis version: git checkout master, when you want to work on the advanced version A: git checkout advanced- version-A. When you want to get back git checkout etc...there is plenty of possibilities. what you can do is - git init on the current state (the master branch will be for the basis) - edit carfully the gitignore, add all, make a first commit - add a directly a tag that will be used if you want to make an new advanced version - create a branch for the first advanced version. You'll even be able to "cherry pick" (take a particular modification) from the advanced version to the basis version or the opposite. ---------------------------------------------------------------------- DonAlfredo · 2016-06-28 08:14 Git ! You can use gogs to setup your own git server with all kinds of features. https://gogs.io/ ---------------------------------------------------------------------- JuhaManninen · 2016-06-28 10:19 Quote from: DonAlfredo on June 28, 2016, 10:14:21 amYou can use gogs to setup your own git server with all kinds of features. https://gogs.io/ What does Gogs do actually? Does it provide a web user interface? Git itself is easy to install and to configure as a server where many users can commit. If the development happens by one person in one machine it may be easiest to just use a local Git repo + its branches and backup it sometimes. ---------------------------------------------------------------------- DonAlfredo · 2016-06-28 10:26 @JuhaManninen Yep. Its like having a GitHub web environment. Very nice, very easy to setup. Good looking. All in place for versioning and ccoperation. As a recent user, I can definitely recommend it. Runs in Arch Linux 64 on t2 micro in Amazon cloud. ---------------------------------------------------------------------- d.ioannidis · 2016-06-28 10:44 Quote from: DonAlfredo on June 28, 2016, 12:26:06 pm@JuhaManninen Yep. Its like having a GitHub web environment. Very nice, very easy to setup. Good looking. All in place for versioning and ccoperation. As a recent user, I can definitely recommend it. Runs in Arch Linux 64 on t2 micro in Amazon cloud. I'm using it too,  in a virtual host at a ispconfig 3 installation on debian ....  ( go to scm.nephelae.eu to see it ). Very handy ... ---------------------------------------------------------------------- DonAlfredo · 2016-06-28 11:00 @Dimitrios In fact, I learned about it through you ! ---------------------------------------------------------------------- d.ioannidis · 2016-06-28 11:45 Quote from: DonAlfredo on June 28, 2016, 01:00:29 pm@Dimitrios In fact, I learned about it through you ! ---------------------------------------------------------------------- PeterX · 2016-06-28 12:10 Quote from: Relativity on June 28, 2016, 09:46:02 am what do you mean exactly with "Pack the 'basis version'" ? What do you mean with "packing" ? ZIP file backup ? ---------------------------------------------------------------------- Ñuño_Martínez · 2016-06-29 11:38 Quote from: Relativity on June 28, 2016, 09:46:02 amÑuño_Martínez, what do you mean exactly with "Pack the 'basis version'" ? What do you mean with "packing" ? And what do you mean by "add the packed 'basis version' to it" ? To copy the "basis version" in the new project folder ? Thank you. What I mean is "use the 'basis version' as a library".  May be you can build an actual Lazarus' package or just a ZIP with the documentation. I think this way you'll be able to mantain the 'basis version' separatelly from 'Advanced versions'.