Menu

Immutable Tags ?

Help
Sky High
2009-04-23
2013-05-01
  • Sky High

    Sky High - 2009-04-23

    Hi,

    So far SubversionNotify is working great.

    But we have a problem with some offsite developers committing and updating Tags.

    Is there any way to allow the creation of a tag, but not allow any further commits or alterations?

    I've tried a few things, but so far no luck!

    Cheers!

     
    • mmckechney

      mmckechney - 2009-04-23

      Sky High,

      The feature that comes to mind is the <LockedPaths> element in the configuration. (see http://www.subversionnotify.com/  Manual --> Full Repo Control Elements --> Locked Paths)

      While this will be a bit of a manual effort to add each tag path after it is created, it will prevent commits to the tag path once configured.

      Mike

       
    • Sky High

      Sky High - 2009-04-24

      Cheers Mike,

      The problem is that we have about quite a few people on different projects creating tags.

      So it would be painstaking to add each tag after it was created.

      Plus either I would have to do it, or we'd have to allow the people who just *can't* grasp how tags work....access to the SVN server machine, or at minimum the SN config file.
      Which could be dangerous....

      I've tried writing a bat that uses Grep (for win32) to stop this, but no luck.

      I've also tried the python scripts that provide this functionality, but the python support for SVN is pretty poor, all the lib versions are mis-matched and most script's out there won't even work with py 2.6 nevermind 3.0!

      Unless....I could add to the pre-commit bat to add in each new tag as it was created, to a locked path...into the SN config file. Hmm..

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.