Skip to content

Added --unique flag to nullstone push#279

Merged
BSick7 merged 4 commits intomasterfrom
f/skip-when-exists
Oct 28, 2025
Merged

Added --unique flag to nullstone push#279
BSick7 merged 4 commits intomasterfrom
f/skip-when-exists

Conversation

@BSick7
Copy link
Copy Markdown
Contributor

@BSick7 BSick7 commented Oct 23, 2025

This alters the default behavior of nullstone push to prevent version conflicts by skipping the push.

This introduces a new flag, --unique, to work as the CLI does today. This allows a user to push a new artifact with an incrementing -<count> suffix (if there's a conflict).

  • Update docs repo with regenerated docs

@BSick7 BSick7 requested a review from ssickles October 23, 2025 15:29
Copy link
Copy Markdown
Member

@ssickles ssickles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this would be the default. Would it make sense to that this like git does and provide a force option instead?

@BSick7
Copy link
Copy Markdown
Contributor Author

BSick7 commented Oct 24, 2025

Seems like this would be the default. Would it make sense to that this like git does and provide a force option instead?

That's a good idea.

@BSick7 BSick7 changed the title Added --skip-when-exists flag to nullstone push Added --unique flag to nullstone push Oct 24, 2025
@BSick7
Copy link
Copy Markdown
Contributor Author

BSick7 commented Oct 24, 2025

@ssickles I took your idea and ran with it. Since --force could still fail if the registry doesn't allow it, I switched to a CLI flag --unique that allows the push/launch command to work identical to current CLI functionality.

@BSick7 BSick7 merged commit 4149101 into master Oct 28, 2025
@BSick7 BSick7 deleted the f/skip-when-exists branch October 28, 2025 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants