I just downloaded concierge but this does not support version control for example: templates.
So if there are more than one administrator working on a specific template file the template is overwritten everytime. Is there a possibility to also checkin and checkout templates / css files etc?
You would need to check your website in central source control repository e.g svn or mercurial then check you templates etc out and check back in. Here at Cogworks we work in the following way,
1. All website files and extensions (custom .net macros etc) are checking in to mercurial
2. Have shared database on development server, web.config points to this shared db
We each check out the files make changes etc and then check in. If you dig around on the forums theres a few posts on team working and using source control.
They could still edit templates through the umbraco backend and save but then they will need to check in the template. However this will only work if they have the site running locally and checked out from source control. Out of the box you only have versioning on content.
I do most of my stuff in Visual Studio, and some in Notepad++, but more recently, I find myself in various locations - with a client, in Costa's etc. - doing quick and dirty updates to templates via Umbraco. In fact, I would say that this feature - being able to do all your front-end coding within the Umbraco UI - is one of the reasons I'm starting to like umbrao more and more (that and it helps my business). It's pretty cool when you're at a client and are talking about for bug that you know is easy to fix, so you just go, well I'll just do it here and there, and bam, it's fixed within a few minutes.
Anyway, that got me thinking about exactly what dominic is asking about. It always makes me feel slightly uneasy when I make changes to templates, or js, or css via umbraco, because I can't just roll-back should something go south.
So, I second dominics request. I'd like to be able to right-click on a template and roll-back to previous versions if I have to.
If you are going to implement versioning (within umbraco) on templates you might as well implement it for all file system editable umbraco objects: js, css, razor scripts, config files (hopefully with ability to edit w/o a plugin), etc. To Matt's point, I love the fact you can edit the templates inside of umbraco but it sucks keeping them up to date in source control and relying on a separate backup strategy for them.
version control for templates, etc
Hello everybody,
I just downloaded concierge but this does not support version control for example: templates.
So if there are more than one administrator working on a specific template file the template is overwritten everytime.
Is there a possibility to also checkin and checkout templates / css files etc?
Thanks
Templates are held on the file system (in the masterpages folder) so you can use your favourite source control system for these files.
Rich
Dominik,
You would need to check your website in central source control repository e.g svn or mercurial then check you templates etc out and check back in. Here at Cogworks we work in the following way,
1. All website files and extensions (custom .net macros etc) are checking in to mercurial
2. Have shared database on development server, web.config points to this shared db
We each check out the files make changes etc and then check in. If you dig around on the forums theres a few posts on team working and using source control.
Regards
Ismail
Ok if i do so the administrators are not able to edit the template files via the umbraco backend. Am i right?
So there is no direct version control like it is for content - easy checkin - checkout functionallity?
They could still edit templates through the umbraco backend and save but then they will need to check in the template. However this will only work if they have the site running locally and checked out from source control. Out of the box you only have versioning on content.
Regards
Ismail
Yes but it would be great to also add templates, css, xslt files to version control.
Is there a reason why this is not possible yet?
My guess is that this will never be a feature for Umbraco 4.x.
As for Umbraco 5 I'm sure version control across the board has been well thought out but whether it'll be implemented within the UI I have no idea.
Rich
I do most of my stuff in Visual Studio, and some in Notepad++, but more recently, I find myself in various locations - with a client, in Costa's etc. - doing quick and dirty updates to templates via Umbraco. In fact, I would say that this feature - being able to do all your front-end coding within the Umbraco UI - is one of the reasons I'm starting to like umbrao more and more (that and it helps my business). It's pretty cool when you're at a client and are talking about for bug that you know is easy to fix, so you just go, well I'll just do it here and there, and bam, it's fixed within a few minutes.
Anyway, that got me thinking about exactly what dominic is asking about. It always makes me feel slightly uneasy when I make changes to templates, or js, or css via umbraco, because I can't just roll-back should something go south.
So, I second dominics request. I'd like to be able to right-click on a template and roll-back to previous versions if I have to.
If you are going to implement versioning (within umbraco) on templates you might as well implement it for all file system editable umbraco objects: js, css, razor scripts, config files (hopefully with ability to edit w/o a plugin), etc. To Matt's point, I love the fact you can edit the templates inside of umbraco but it sucks keeping them up to date in source control and relying on a separate backup strategy for them.
is working on a reply...