folder and repo structure
Hello,
first, i'm new to VCS and bzr.
I spent all my time in the last week on searching a solution for my needs.
I tested a lot with Bazaar explorer on Windows and tried to focus my web searches on bazzar related topics.
All of this done i still have not idea how to construct my developping ressources in order to make things easier for me.
My work starts on an existing CMS. i need to follow the changes made by the developper of this CMS.
I write modules affecting various folders within the CMS, in some rarely cases a module can affect an existing file of the CMS but mostly files and folders are only added by my module.
I also write themes for this CMS. Themes can be considered as isolated folders and do not affect any ather existing files in the CMS.
Finaly i also do some initial configurations within some files located in the CMS. i call these hacks.
Let me give you an example to describe what i'm expecting
assuming the following folder structure
root
+ cms.version.x
| + includes
| | - functions.php
| | - lib.php
| + modules
| | + news
| | | - index.php
| + themes
| | + default theme
| | | + templates
| | | | + News
| | | | | - index.html
|
+ modules
| + mymodule
| | + includes
| | | - functions.php
| | + modules
| | | + mymodule
| | | | - index.php
| | + themes
| | | + templates
| | | | + mymodule
| | | | | - index.html
|
+ hacks
| + includes
| | - lib.php
|
+ releases
| + release1
| | + includes
| | | - functions.php (the most recent revision)
| | | - lib.php (the most recent revision)
| | + modules
| | | + news
| | | | - index.php (FROM CMS CORE)
| | | + mymodule
| | | | - index.php (FROM mymodule)
| | + themes
| | | + default theme
| | | | + templates
| | | | | + News
| | | | | | - index.html (FROM CMS CORE)
| | | | | + mymodule
| | | | | | - index.html (FROM mymodule)
What i expect is :
- Having a dedicated versionning for each of my modules, themes and hacks and also the core files.
- Whole releasing localy by having merged the corefiles with all modules, themes and hacks.
- Module releasing by having only the files of the module folder.
- Checking out a customer production site from an existing release.
I'm sorry to post such a basic question. What i learned about CVS and bazaar allows me to handle very well a single project folder, but i could not figure out how to have a multi project repository with code libraries allowing me to merge into releases.
I also looked at things like scmproj but what i understood is that it is only batching core bzr commands so i prefered to understand how things work. This said i gave a look and tested scmproj to see the resulting structures, but i also failed in building the structure i expect.
Perhaps my way to work manualy the past years is wrong and i schould consider a new approach.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mathieu Schiffmann
- Solved:
- Last query:
- Last reply: