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 task for purging npm alpha versions #130

Merged
merged 3 commits into from
Jul 27, 2021
Merged

Conversation

labkey-susanh
Copy link
Contributor

@labkey-susanh labkey-susanh commented Jul 26, 2021

Rationale

The alpha versions of our NPM packages never get removed unless we do that manually, and currently the manual method for doing this within the Artifactory web application requires finding and clicking on each version separately. Even filtering to the proper versions within the Artifactory UI is not really possible. Here we add a new task that uses an npm command to find the versions and the Artifactory REST API to do the deletions. Though I might have liked to use npm unpublish to remove the alpha versions, that command does not work, possibly due to this long-standing issue.

Related Pull Requests

Changes

  • Add new PurgeNpmAlphaVersion task to make it easier to remove obsolete alpha package versions

@labkey-susanh labkey-susanh merged commit 0ea0a02 into develop Jul 27, 2021
@labkey-susanh labkey-susanh deleted the fb_purgeAlphaVersions branch July 27, 2021 14:12
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