Maven SCM
  1. Maven SCM
  2. SCM-487

support --parents option for svn copy (tag commands) (svn 1.5 required)

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.9
    • Component/s: maven-scm-provider-svn
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      2

      Description

      With the release if guys doesn't have created full layout with the tags path, the release plugin failed.
      We can created full directory structure with --parents cli option

      1. parents.patch
        6 kB
        Michael Osipov
      2. SCM-487-svn-parents-flag.patch
        8 kB
        Eitan Katznelson

        Issue Links

          Activity

          Hide
          Olivier Lamy added a comment -
          Show
          Olivier Lamy added a comment - fix rev 885160
          Hide
          Olivier Lamy added a comment -

          this will made svnexe provider not compatible with svn version < 1.5.
          See http://subversion.tigris.org/svn_1.5_releasenotes.html#intermediate-directories
          Objections ?

          Show
          Olivier Lamy added a comment - this will made svnexe provider not compatible with svn version < 1.5. See http://subversion.tigris.org/svn_1.5_releasenotes.html#intermediate-directories Objections ?
          Hide
          Daniel Wurst added a comment -

          I think it is very important to have this possiblity to independenty tag sub-projects, but for compatibility reasons I'd suggest to make it a provider configuration (in <svn-settings>).

          Show
          Daniel Wurst added a comment - I think it is very important to have this possiblity to independenty tag sub-projects, but for compatibility reasons I'd suggest to make it a provider configuration (in <svn-settings>).
          Hide
          Michael Osipov added a comment -

          This bug is very annoying. Please add something similiar to the "remoteTagging" flag or determine the SVN version and apply this option.

          I completely agree to Daniel.

          Show
          Michael Osipov added a comment - This bug is very annoying. Please add something similiar to the "remoteTagging" flag or determine the SVN version and apply this option. I completely agree to Daniel.
          Hide
          Olivier Lamy added a comment -

          btw you can use svnjavaprovider and this option is supported.

          Show
          Olivier Lamy added a comment - btw you can use svnjavaprovider and this option is supported.
          Hide
          Michael Osipov added a comment -

          Thanks Olivier,

          I will have a look into. Hopefully it's as stable as svnexe.

          Show
          Michael Osipov added a comment - Thanks Olivier, I will have a look into. Hopefully it's as stable as svnexe.
          Hide
          Olivier Lamy added a comment -

          sure it's stable I use @job

          Show
          Olivier Lamy added a comment - sure it's stable I use @job
          Hide
          Michael Osipov added a comment -

          Olivier,

          it happened what I have expected. Authentication failed. We tunnel svn over ssh with keys. The tunnel is set in the subversion global config file. I read this but it doesn't say what type of key it wants. OpenSSH or putty. We use tortoiseplink with putty private key to establish the tunnel on windows even for subclipse since subclipse was not able to handle the config without a passphrase.

          Thanks,

          Mike

          Show
          Michael Osipov added a comment - Olivier, it happened what I have expected. Authentication failed. We tunnel svn over ssh with keys. The tunnel is set in the subversion global config file. I read this but it doesn't say what type of key it wants. OpenSSH or putty. We use tortoiseplink with putty private key to establish the tunnel on windows even for subclipse since subclipse was not able to handle the config without a passphrase. Thanks, Mike
          Hide
          Olivier Lamy added a comment -

          so it's an other story.
          You can certainly load an issue and provide a patch here http://code.google.com/p/maven-scm-provider-svnjava/

          Show
          Olivier Lamy added a comment - so it's an other story. You can certainly load an issue and provide a patch here http://code.google.com/p/maven-scm-provider-svnjava/
          Hide
          Eitan Katznelson added a comment -

          What do you think of this patch which allows users to set a system property (in the same manner as setting the config file override in SVNCommandLineUtils) to have the --parents flag added to the command line of both the Tag and Branch commands until a proper long term patch is provided.

          Show
          Eitan Katznelson added a comment - What do you think of this patch which allows users to set a system property (in the same manner as setting the config file override in SVNCommandLineUtils) to have the --parents flag added to the command line of both the Tag and Branch commands until a proper long term patch is provided.
          Hide
          Michael Osipov added a comment -

          I'd like to reapply this patch finally. Subversion 1.5 is EOL, even 1.6 is EOL. It's time to move on. If no one objects, I'll commit and push the attached patch.

          Show
          Michael Osipov added a comment - I'd like to reapply this patch finally. Subversion 1.5 is EOL, even 1.6 is EOL. It's time to move on. If no one objects, I'll commit and push the attached patch.
          Hide
          Olivier Lamy added a comment -

          go

          Show
          Olivier Lamy added a comment - go
          Show
          Michael Osipov added a comment - Changes pushed with https://git-wip-us.apache.org/repos/asf?p=maven-scm.git;a=commit;h=4f4897ab902a1c6b4544dde6181398c83666535b

            People

            • Assignee:
              Olivier Lamy
              Reporter:
              Olivier Lamy
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: