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

[Task]: Version tagging integration in package editor #39370

Open
subrata71 opened this issue Feb 19, 2025 · 0 comments
Open

[Task]: Version tagging integration in package editor #39370

subrata71 opened this issue Feb 19, 2025 · 0 comments
Assignees
Labels
Backend This marks the issue or pull request to reference server code Packages & Git Pod All issues belonging to Packages and Git Packages Pod issues that belong to the packages pod Task A simple Todo

Comments

@subrata71
Copy link
Contributor

SubTasks

https://www.notion.so/appsmith/Task-Version-tagging-integration-in-package-editor-143fe271b0e2800a9e95f0cc03528d7c

  • Use the UI fragment provided by the git API to integrate it in the package editor
  • Package version tagging API; uses Git provided API to tag and return result
  • Revert local snapshot if error while creating tag in remote.
  • User has the control to provide specific semantic version.

Backend:

  • Change in publish-package API

    • Publish-package API should take these params

      Request: {
         branchedPackageId,
         tag,
         releaseNote (optional),
         commit SHA (optional)
      }
  • Store last tag information and commit SHA in

    • editable version of the package
    • last published version of the package
    • Store the last created tag in the base package no matter what branch has created that tag as GitArtifactMetadata is not serialised
  • Create tag and push to remote

    • onFailure: rollback all changes
@subrata71 subrata71 added the Task A simple Todo label Feb 19, 2025
@subrata71 subrata71 self-assigned this Feb 19, 2025
@subrata71 subrata71 added Backend This marks the issue or pull request to reference server code Packages Pod issues that belong to the packages pod labels Feb 19, 2025
@github-actions github-actions bot added the Packages & Git Pod All issues belonging to Packages and Git label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend This marks the issue or pull request to reference server code Packages & Git Pod All issues belonging to Packages and Git Packages Pod issues that belong to the packages pod Task A simple Todo
Projects
None yet
Development

No branches or pull requests

1 participant