[Import] Nx Import doesn't move tags
Current Behavior
import project using nx import command imports the commits all good, however the tags are left on what appears to be a shadow commit tree and new tags are not created or moved over.
Expected Behavior
Tags moved to the new commits, ideally with the project prefix in format which will work with nx release
GitHub Repo
https://github.com/DanielRivers/nx-import-demo
Steps to Reproduce
- run nx import importing from a repo with tags
- View tags on local git, will not be attached to any commit
Nx Report
NX Report complete - copy this into the issue template
Node : 22.0.0
OS : darwin-arm64
Native Target : aarch64-macos
pnpm : 8.14.1
nx (global) : 19.4.2
nx : 19.8.2
@nx/js : 19.8.2
@nx/workspace : 19.8.2
@nx/eslint-plugin : 19.8.2
@nx/vite : 19.8.2
@nx/web : 19.8.2
---------------------------------------
Registered Plugins:
@nx/vite/plugin
Failure Logs
No response
Package Manager Version
pnpm 8.14.1
Operating System
- [X] macOS
- [ ] Linux
- [ ] Windows
- [ ] Other (Please specify)
Additional Information
Viewing tag shows
https://github.com/DanielRivers/nx-import-demo/commit/375a26094270cfc8cacb61d4bfbc6aeeb471b583
I'm not even able to get this command to work... I keep getting an NX Cannot find project error when I run nx import [source] [dest], even when I pass it a valid github url....
@ken-playerlync What I did was just run nx import and followed the commands
@ken-playerlync What I did was just run
nx importand followed the commands
@DanielRivers was your source project already a nx monorepo project?
@ken-playerlync What I did was just run
nx importand followed the commands@DanielRivers was your source project already a nx monorepo project?
No
HI @jaysoo , I can see you self assigned this, I am wondering if have any idea on resolution, I have approx 10 projects wanting to move into a NX monorepo and holding off until we can import with tags and them work in a way which will work with nx release ideally.
This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏
Hi @jaysoo Was this resolved? I been waiting for it.
@jaysoo This is still a problem on 21. Really want to move to nx, but this issue is making migration unfeasible.
Unless there is another way to import projects, with tags which in the right format for nx release
This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏