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]: Checkout tag #39374

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

[Task]: Checkout tag #39374

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-Checkout-tag-144fe271b0e2808fa7f5da408e43e9eb

  • In the Tag view menu, when the tag is clicked; it will checkout the tag to view
  • If hydration missing then the tag will be hydrated
  • Refactor existing logic of hydration (during package import) to support hydration to take place in the published states only
  • If SHA mismatch then it will re-hydrate
  • On successful hydration, re-routes to the tag url
  • On version url page load; re-fetches the package data
  • The header includes the version details just like branch
    • Clears the branch header and adds new version key
  • All the GET APIs like modules, module instance etc will now have to consider the version
  • If the remote tag is deleted, the checkout should do a cleanup job and refetch.
  • If the remote tag is deleted and re-created on a different commit;
    • It should first verify the local SHA and remote
    • Cleanup the local
    • Pull and hydrate

Note: The cleanup job can probably be offloaded to some other service

@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