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

[Feature] Add graphman unlink #5115

Closed
wants to merge 5 commits into from

Conversation

SozinM
Copy link
Contributor

@SozinM SozinM commented Jan 5, 2024

Complete part of #4947

  • Implement unlink command
  • Add auditing
  • Add auditing table creation

Introducing the private function subgraphs_info_by_deployment_hash is done to keep the complex query in a single place and add another function (subgraph_ids_by_deployment_hash) to get different fields.
I didn't want to change the interface and logic of subgraphs_by_deployment_hash because it is used in other places and will cause cascade refactoring.

Still need testing and few todos
@SozinM SozinM changed the title Add IPFS unlink [Feature] Add graphman unlink Jan 5, 2024
@azf20
Copy link
Contributor

azf20 commented Feb 2, 2024

Hey @SozinM thanks so much for picking this up! Are you still working on this PR?

@SozinM
Copy link
Contributor Author

SozinM commented Feb 6, 2024

Hi @azf20
Yes, I'll speed up :)

Used existing query to get all subgraphs for unlinking
… into the private function and providing detailed interface for this function.

This was done to introduce another function subgraph_ids_by_deployment_hash and avoid complex query duplication.
@SozinM SozinM marked this pull request as ready for review February 9, 2024 15:25
@SozinM
Copy link
Contributor Author

SozinM commented Feb 9, 2024

@lutter Could you provide concrete fields for the auditing table? I cannot find any mention of it anywhere.
Or we could add auditing in another PR.

Copy link

This pull request hasn't had any activity for the last 90 days. If there's no more activity over the course of the next 14 days, it will automatically be closed.

@github-actions github-actions bot added the Stale label May 10, 2024
@mangas
Copy link
Contributor

mangas commented May 28, 2024

@SozinM I will close this PR for the moment as it seems to be stale, feel free to re-open it later.

@mangas mangas closed this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants