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

Add Jujutsu support #75

Open
3 tasks done
rijenkii opened this issue Feb 18, 2025 · 0 comments
Open
3 tasks done

Add Jujutsu support #75

rijenkii opened this issue Feb 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@rijenkii
Copy link

rijenkii commented Feb 18, 2025

Clear and concise description of the problem

See: https://jj-vcs.github.io/, https://github.com/jj-vcs/jj?tab=readme-ov-file#readme
Current behaviour:

$ npm run release

> [email protected] release
> bumpp && npm publish

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

i No commits since the last version

✔ Current version 1.0.0-beta.0 ›          next 1.0.0-beta.1

   files package-lock.json
         package.json
  commit chore: release v1.0.0-beta.1
     tag v1.0.0-beta.1
    push yes

    from 1.0.0-beta.0
      to 1.0.0-beta.1

✔ Bump? … yes
✔ Updated package-lock.json to 1.0.0-beta.1
✔ Updated package.json to 1.0.0-beta.1
Process exited with non-zero status (128)

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Suggested solution

Add support using jj binary, just like it is done for git.

Alternative

Don't support jj, leave that to a fork.
jj can't create git tags yet and it is still indev so commands may change, so jj support may be a noticeable maintenance burden.

Additional context

Currently I have resorted to using this command to publish new releases:

cd (mktemp -d) && git clone <url> . && npm install && npm run release && rm -rf (pwd)

Validations

@rijenkii rijenkii added the enhancement New feature or request label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant