(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Development SVN == | == Development SVN == | ||
− | The SVN repository used for the development can be found at ([http://dev.fckeditor.net/browser | + | The SVN repository used for the development can be found at ([http://dev.fckeditor.net/browser browsable]): |
http://svn.fckeditor.net | http://svn.fckeditor.net | ||
Line 12: | Line 12: | ||
Every night, at 0:30 PST, a "'''Nightly Build'''" is generated, from the SVN version. You may download it from one of the following links: | Every night, at 0:30 PST, a "'''Nightly Build'''" is generated, from the SVN version. You may download it from one of the following links: | ||
+ | |||
* http://www.fckeditor.net/nightly/FCKeditor_N.zip | * http://www.fckeditor.net/nightly/FCKeditor_N.zip | ||
− | * http://www.fckeditor.net/nightly/FCKeditor_N.tar.gz | + | * http://www.fckeditor.net/nightly/FCKeditor_N.tar.gz |
− | |||
− | The nightly is processed for public distribution. As the fixes and features available on nightlies are still under testing and development, it may be used on production systems at your own risk. | + | You may also test it online [http://www.fckeditor.net/nightly/fckeditor/_samples/default.html here]. |
+ | |||
+ | The nightly is processed for public distribution. As the fixes and features available on nightlies are still under testing and development, it may be used on production systems at your own risk. | ||
== Working with SVN == | == Working with SVN == | ||
Line 28: | Line 30: | ||
http://rev.fckeditor.net/ | http://rev.fckeditor.net/ | ||
− | The list in the above site is quite similar to the [http://dev.fckeditor.net/log/FCKeditor/trunk | + | The list in the above site is quite similar to the [http://dev.fckeditor.net/log/FCKeditor/trunk trunk log page], with the exception that it contains and additional column called "Test". A link can be found there to open the sample pages of FCKeditor, generated for each precise revision. |
== Repository Structure == | == Repository Structure == | ||
− | + | <pre>FCKeditor -----------+ Every subproject will have a directory in the root. | |
− | <pre> | + | trunk -----------+ This is the development place. |
− | FCKeditor -----------+ Every subproject will have a directory in the root. | + | branches |
− | + | developers --+ | |
− | + | features | Isolated development spaces. | |
− | + | versions ----+ | |
− | + | tags | |
− | + | 2.3.2 -------+ | |
− | + | 2.3.1 | A tag will be available for each version release. | |
− | + | 2.3 | It contains the development version (trunk) at release time. | |
− | + | 1.6.1 -------+ | |
− | + | </pre> | |
− | |||
− | </pre> | ||
All subprojects in the repository will present a structure similar to the above. | All subprojects in the repository will present a structure similar to the above. | ||
Line 73: | Line 73: | ||
If you are insecure, don't be afraid of asking others to execute this task for you. | If you are insecure, don't be afraid of asking others to execute this task for you. | ||
− | TortoiseSVN offers a nice tool to track the creation an life-cicle of branches. It is called "Revision graph". The SVN log can also be used for it. | + | TortoiseSVN offers a nice tool to track the creation an life-cicle of branches. It is called "Revision graph". The SVN log can also be used for it.<br> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Links == | == Links == | ||
− | * '''TortoiseSVN:''' the SVN integration with the Windows Shell. This is the best way to work with SVN in Windows: | + | * '''TortoiseSVN:''' the SVN integration with the Windows Shell. This is the best way to work with SVN in Windows:<br>http://tortoisesvn.tigris.org/ |
− | + | * '''Subversion:''' the official SVN command line. Windows binaries can be found in the download page:<br>http://subversion.tigris.org/ | |
− | http://tortoisesvn.tigris.org/ | + | * '''Book - Version Control with Subversion:''' a good book about SVN:<br>http://svnbook.red-bean.com/ |
− | |||
− | * '''Subversion:''' the official SVN command line. Windows binaries can be found in the download page: | ||
− | |||
− | http://subversion.tigris.org/ | ||
− | |||
− | * '''Book - Version Control with Subversion:''' a good book about SVN: | ||
− | |||
− | http://svnbook.red-bean.com/ |
Latest revision as of 12:13, 23 January 2008
Contents
Development SVN
The SVN repository used for the development can be found at (browsable):
The SVN contains the "development version" of FCKeditor. It doesn't reflect the contents of public distributions. Actually, some files are not present in the public downloads (like the "_dev" folder or the compressed "js" files, for example).
We don't recommend using this version on production. There are also security implications on doing so. To make the SVN version "production safe", it must be processed with FCKreleaser (available inside _dev). A safer and easier option is to simply use the Nightly Build, which is already processed.
Nightly Build
Every night, at 0:30 PST, a "Nightly Build" is generated, from the SVN version. You may download it from one of the following links:
- http://www.fckeditor.net/nightly/FCKeditor_N.zip
- http://www.fckeditor.net/nightly/FCKeditor_N.tar.gz
You may also test it online here.
The nightly is processed for public distribution. As the fixes and features available on nightlies are still under testing and development, it may be used on production systems at your own risk.
Working with SVN
Some basic SVN usage information can be found at the SVN Basics page.
Testing Old Revisions
There are occasions during the development, when bugs are introduced by recent changes in the code. To precisely understand and find when things changed, we have created a dedicated web site with a list of all revisions available for the trunk:
The list in the above site is quite similar to the trunk log page, with the exception that it contains and additional column called "Test". A link can be found there to open the sample pages of FCKeditor, generated for each precise revision.
Repository Structure
FCKeditor -----------+ Every subproject will have a directory in the root. trunk -----------+ This is the development place. branches developers --+ features | Isolated development spaces. versions ----+ tags 2.3.2 -------+ 2.3.1 | A tag will be available for each version release. 2.3 | It contains the development version (trunk) at release time. 1.6.1 -------+
All subprojects in the repository will present a structure similar to the above.
The "trunk"
The trunk is the effective place we'll be working everyday. Usually we'll have local working copies of the trunk only (and possibly any branch).
Starting from version 2.4, the trunk will always have stable code which we can publish to the public SVN, and eventually release officially. So, only important bugs and small changes will be committed here, while more delicate and extensive developments will be done in a "branch".
Branches
Branches give us isolated environments for development, and once tested and confirmed a new work is ready, it can be simply merged in the trunk.
For code that doesn't bring instability, like trivial fixes or small features, there is no need to work on a separated branch. It can be committed directly to the trunk if you feel the code is ok and it is well tested. It makes the management easier.
The branches could be created in the following spaces:
- branches/developers: each developer may have a private branch under this directory. The directory name is the developer name (fredck, for example). The developer himself can decide to use it or not, and have complete freedom for it.
- branches/features: if a feature is too big and complex, a developer could decide to create a dedicated branch for it.
- branches/versions: there could be branches for future versions, waiting while previous ones are being tested and released.
Merging Branches
A common task during a branch development, is to merge changes made in the trunk to the branch, leaving it always up to date with the trunk. Remember that merges must be done from the last revision merged, starting from the revision from which the branch has been created.
When merging branches to the trunk, first merge the trunk to the branch and check that everything is ok. Make the necessary changes and commit the branch. Then switch to the trunk and merge the differences between the branch HEAD and the last trunk revision you have just merged to the branch (usually HEAD). Then, if the branch is not anymore needed, just delete it (SVN delete I mean).
If you are insecure, don't be afraid of asking others to execute this task for you.
TortoiseSVN offers a nice tool to track the creation an life-cicle of branches. It is called "Revision graph". The SVN log can also be used for it.
Links
- TortoiseSVN: the SVN integration with the Windows Shell. This is the best way to work with SVN in Windows:
http://tortoisesvn.tigris.org/ - Subversion: the official SVN command line. Windows binaries can be found in the download page:
http://subversion.tigris.org/ - Book - Version Control with Subversion: a good book about SVN:
http://svnbook.red-bean.com/