/path/to/tmpdirectory overwrites sites from other projects
eed3si9n opened this issue · comments
eugene yokota commented
steps
Follow README and make a minimal project without name or organization set:
import com.typesafe.sbt.site.PamfletSupport._
lazy val root = (project in file("."))
.settings(
site.settings,
site.pamfletSupport(),
ghpages.settings,
git.remoteRepo := "git@github.com:sbt/sbt.github.com.git"
)
Publish to gh-pages. Let's call this scala-sbt.org
.
Make another project with different content. baz.com
.
Publish to gh-pages.
problem
The content of baz.com
is published to scala-sbt.org
.
expectation
- The content of
baz.com
is published tobaz.com
. - If
organization
andname
are used, document it on README. - Detect collision in some way and warn the user.
notes
/path/to/tmpdirectory
mentioned in the README is actually
repository <<= (name,organization) apply ((n,o) => file(System.getProperty("user.home")) / ".sbt" / "ghpages" / o / n),
In my case both bar.com and baz.com would have ~/.sbt/ghpages/root/root
.
Josh Suereth commented
0.5.4 should fix this issue.
eugene yokota commented
🎆