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

Action to sync files between working environment and test ship #1

Open
ashelkovnykov opened this issue Jun 15, 2022 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ashelkovnykov
Copy link
Owner

There's a script that people use to update a test ship with their working changes that looks like this:

#!/usr/bin/env bash

HOOD_CMD="+hood/commit %"$3""

rsync -avL "$1"/pkg/$3/ "$2"/$3/ && herb $2 -p hood -d "$HOOD_CMD"

It would be useful to add this as an action to the plugin.

One issue is that the above script relies on having the herb command in the terminal, meaning that the user will first have had to install the Urbit nix environment. Alternatives:

  • User manually commits
  • User enables autocommit
  • Multiple commands (e.g. "Sync and commit" which attempts to use herb; "Sync to ship" which just copies files to desk on ship)

Regardless, it's a useful idea.

@ashelkovnykov ashelkovnykov added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant