Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalArgumentException: requirement failed: No /trunk, /branches or /tags part found in svn url #155

Open
rwijngaa opened this issue Apr 29, 2016 · 2 comments

Comments

@rwijngaa
Copy link

The docs mention "sbt-release has built in support to commit/push to Git, Mercurial and Subversion repositories." but does it really support SVN?
If so, can you provide examples on how to do this (instead of the default commit-t-git examples?)

@rwijngaa rwijngaa changed the title svn support states in docs, but not supported ? svn support mentioned in docs, but is it really supported ? Apr 29, 2016
@rwijngaa
Copy link
Author

rwijngaa commented May 2, 2016

I guess the real question here is, why is the statement below not working
in my case: "releaseVcs := Vcs.detect(baseDirectory.value)"

object Vcs {
def detect(dir: File): Option[Vcs] = {
Stream(Git, Mercurial, Subversion).flatMap(comp => comp.isRepository(dir).map(comp.mkVcs(_))).headOption
}
}

I don't have any .git folder in my working directory. Only .svn
As i'm working on different projects (git and svn), could i override this detection somehow?

@rwijngaa
Copy link
Author

rwijngaa commented May 4, 2016

ok, i re-installed my git client and now it seems to work better.
But at svn tagging time i get:

java.lang.IllegalArgumentException: requirement failed: No /trunk, /branches or /tags part found in svn url. Base url cannot be extracted.

my svn url is something like (output from svn info)
URL: svn://svn.company.com/source/ssi/app/trunk

@rwijngaa rwijngaa changed the title svn support mentioned in docs, but is it really supported ? java.lang.IllegalArgumentException: requirement failed: No /trunk, /branches or /tags part found in svn url May 4, 2016
neoramon added a commit to neoramon/sbt-release that referenced this issue Jun 9, 2016
java.lang.IllegalArgumentException: requirement failed: No /trunk,
/branches or /tags part found in svn url sbt#155
kotya added a commit to kotya/sbt-release that referenced this issue Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant