Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pete 152 posts 176 karma points
    Jun 16, 2010 @ 16:00
    Pete
    0

    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.

     

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Jun 16, 2010 @ 16:08
    Sebastiaan Janssen
    0

    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.

  • Pete 152 posts 176 karma points
    Jun 16, 2010 @ 16:36
    Pete
    0

    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?

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Jun 16, 2010 @ 16:42
    Sebastiaan Janssen
    0

    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.

  • Pete 152 posts 176 karma points
    Jun 16, 2010 @ 16:51
    Pete
    0

    Are the only files that need to be copied: data/packages folder and the bin/.dlls?

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Jun 16, 2010 @ 17:02
    Sebastiaan Janssen
    0

    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.

  • Rich Green 2246 posts 4008 karma points
    Jun 16, 2010 @ 18:56
    Rich Green
    0

    Pete, any reason you have to have it set up like that as opposed to everyone accessing the same site?

     

     

     

  • Pete 152 posts 176 karma points
    Jun 17, 2010 @ 12:29
    Pete
    0

    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.

  • Rich Green 2246 posts 4008 karma points
    Jun 17, 2010 @ 13:26
    Rich Green
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft