We have multiple developers sharing the same database but with the sites running locally on their own machines.
I have installed packages on one of the sites but they do not appear in the tree in the Developer section in the other sites.
What is happening here? Shouldn't packages installed against the same db appear in the tree? I've copied the bin directories to ensure the .dll files are present.
Packages are installed locally, as they contain files that will end up in the local file structure. In /data/ there's an xml with installed package info, it's not in the database (wouldn't make sense either: other devs don't actually have it installed).
You're going to have to commit the new / changed files to source control and have your other devs fetch the latest version.
I'd recommend against all of them installing it, as database changes will be duplicated and that could result in error. Share the package files through your source control system (if you don't have one: get one! ;-)) or copy the changed files by hand. If you do this by hand, you might miss some files though.
And have each developer's VS push files to a shared network directory? Sounds very messy... It's definitely not the advised set up for Umbraco development.
Packages and multiple devs sharing a database
We have multiple developers sharing the same database but with the sites running locally on their own machines.
I have installed packages on one of the sites but they do not appear in the tree in the Developer section in the other sites.
What is happening here? Shouldn't packages installed against the same db appear in the tree? I've copied the bin directories to ensure the .dll files are present.
Packages are installed locally, as they contain files that will end up in the local file structure. In /data/ there's an xml with installed package info, it's not in the database (wouldn't make sense either: other devs don't actually have it installed).
You're going to have to commit the new / changed files to source control and have your other devs fetch the latest version.
Opps... bit early to say solved there but thanks for the response.
So should each dev install the package or can we just copy the data/packages folder and the bin/.dlls?
I'd recommend against all of them installing it, as database changes will be duplicated and that could result in error. Share the package files through your source control system (if you don't have one: get one! ;-)) or copy the changed files by hand. If you do this by hand, you might miss some files though.
Are the only files that need to be copied: data/packages folder and the bin/.dlls?
Sorry, it is always an unkown which files need to be copied, packages can include files that will be written in any place in your umbraco install.
Pete, any reason you have to have it set up like that as opposed to everyone accessing the same site?
And have each developer's VS push files to a shared network directory? Sounds very messy... It's definitely not the advised set up for Umbraco development.
In my opinion that would depend on the project in hand.
In answer to your original post, there are XSLT and usercontrols files to consider along with dll's, image files, config files etc.
Not sure if you've found these posts but a shared dev environment was discussed in depth a while back.
http://our.umbraco.org/forum/core/general/3619-Source-control-and-multiple-developers
http://farmcode.org/post/2009/09/09/How-to-sync-data-across-multiple-Umbraco-environments.aspx
Best of luck, Rich
is working on a reply...