Skip to content

Conversation

@pditommaso
Copy link
Member

@pditommaso pditommaso commented Jul 29, 2025

Rename publishPlugin task back to releasePlugin

Summary

  • Rename publishPlugin task back to releasePlugin to better reflect its purpose
  • Rename publishPluginToRegistry to releasePluginToRegistry for consistency
  • Update task descriptions with proper capitalization
  • Remove all GitHub publishing functionality to simplify the plugin

Changes Made

Task Rename (Latest Update)

  • Renamed publishPluginreleasePlugin to better reflect the tasks purpose of releasing/deploying plugins
  • Renamed publishPluginToRegistryreleasePluginToRegistry for naming consistency
  • Updated task descriptions to use proper capitalization
  • Updated all test methods and assertions to use new task names
  • Updated README documentation to reflect the new task names

Previous Changes

  • Remove all GitHub publishing functionality
  • Add comprehensive unit tests to validate the changes

Current Functionality

  • releasePluginToRegistry - Releases plugin to plugin registry
  • releasePlugin - Aggregate task for all configured release destinations
  • Registry publishing configuration via nextflowPlugin.publishing.registry

Test Plan

  • Verify releasePlugin task is properly registered
  • Confirm releasePluginToRegistry task dependencies are correct
  • Validate tasks not created without publishing config
  • All unit tests pass with new task names

Rename the releasePlugin task to publishPlugin for consistency with other
plugin-specific publishing tasks like publishPluginToRegistry and
publishPluginToGithub. This also avoids potential conflicts with the
generic 'publish' task from the maven-publish plugin.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@pditommaso pditommaso requested a review from bentsherman July 29, 2025 10:48
pditommaso and others added 3 commits July 29, 2025 12:56
- Add comprehensive Spock tests validating publishPlugin task behavior
- Test task registration with different publishing configurations
- Test task dependencies for registry and GitHub publishing
- Test task is not created when no publishing is configured
- Add required test dependencies (Spock framework)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove GitHub publishing tasks (generateGithubMeta, publishPluginToGithub, updateGithubIndex)
- Remove GitHub-related imports from NextflowPlugin.groovy
- Delete entire github/ directory with all GitHub publishing classes
- Update PluginPublishConfig to remove GitHub configuration
- Remove GitHub-related test cases from NextflowPluginTest
- Now only supports registry publishing via publishPluginToRegistry task

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@pditommaso
Copy link
Member Author

Ouch, I wanted to make a separate PR for removing the Github related tasks, but Claude was too fast (!)

@pditommaso pditommaso changed the title Rename releasePlugin task to publishPlugin Rename releasePlugin task to publishPlugin and remove GitHub publishing Jul 29, 2025
Copy link
Member

@bentsherman bentsherman left a comment

Choose a reason for hiding this comment

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

Let's also update the Makefile in nf-plugin-template to be make publish instead of make release. Maybe make release would still be useful to simply create a github release

@pditommaso
Copy link
Member Author

- Rename publishPlugin -> releasePlugin
- Rename publishPluginToRegistry -> releasePluginToRegistry
- Update task descriptions to use proper capitalization
- Update all tests and documentation references

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@pditommaso pditommaso changed the title Rename releasePlugin task to publishPlugin and remove GitHub publishing Rename publishPlugin to releasePlugin and remove GitHub publishing Jul 30, 2025
@pditommaso pditommaso merged commit d956da2 into master Jul 30, 2025
1 check passed
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.

3 participants