~jan0sch/smederee
Showing details for patch 5d12e9bc06b160dc665b2784bc8ff9c6b1c3696b.
diff -rN -u old-smederee/modules/hub/src/main/resources/messages_en.properties new-smederee/modules/hub/src/main/resources/messages_en.properties --- old-smederee/modules/hub/src/main/resources/messages_en.properties 2025-01-31 23:01:29.629509791 +0000 +++ new-smederee/modules/hub/src/main/resources/messages_en.properties 2025-01-31 23:01:29.633509794 +0000 @@ -191,6 +191,7 @@ repository.overview.clone.title=Clone this repository repository.overview.clone.read-only=read-only repository.overview.clone.read-write=read-write +repository.overview.clone.read-write.help=Please note that you might need to set the DARCS_SCP="scp -O" environment variable on some systems if you get "subsystem request failed" errors during darcs ssh operations. repository.overview.clone.read-write.owners-only=Currently only the owner of a repository can use it via ssh. repository.overview.download.title=Downloads repository.overview.download.link=Source code (.tar.gz) diff -rN -u old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryOverview.scala.html new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryOverview.scala.html --- old-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryOverview.scala.html 2025-01-31 23:01:29.629509791 +0000 +++ new-smederee/modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryOverview.scala.html 2025-01-31 23:01:29.633509794 +0000 @@ -77,6 +77,7 @@ <fieldset> <input class="pure-input-1" id="clone-readwrite" type="text" value="@{vcsRepositorySshUri.getOrElse("NOT YET IMPLEMENTED!")}" readonly="readonly"/> </fieldset> + <small class="pure-form-message" id="clone-readwrite.help">@Messages("repository.overview.clone.read-write.help")</small> </form> } else { <p>@Messages("repository.overview.clone.read-write.owners-only")</p> diff -rN -u old-smederee/README.md new-smederee/README.md --- old-smederee/README.md 2025-01-31 23:01:29.629509791 +0000 +++ new-smederee/README.md 2025-01-31 23:01:29.629509791 +0000 @@ -26,6 +26,9 @@ 1. An RSA key is required! 2. A custom port is used! +3. Problems with newer SSH implementations due to changed `scp`! + +### Using a custom ssh port ### To make darcs use the custom port either set the `SSH_PORT` environment variable (`SSH_PORT=30983 darcs clone ...`) or configure your ssh client @@ -45,6 +48,18 @@ With such a configuration you should be able to use `darcs clone` etc. without having to set the environment variable. +### Fixing problems with scp ### + +On some systems the `scp` command will use `sftp` internally which will +cause operations to break because we currently do not have a working SFTP +repository access layer. But you can circumvent the issue by providing a +flag (custom `scp` command to darcs) by using the `DARCS_SCP` environment +variable: + +``` +% DARCS_SCP="scp -O" SSH_PORT=30983 darcs clone ... +``` + ### Protecting endpoints ### If an endpoint is intended to be used only by guests (users that are not