cluster know which cluster_values are to be marked as deprecated upon update

Open
#32 0 comments 0 reactions 1 assignee View on GitHub

@cvandeplas is already working on this.

Since Jun 26, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement

One of the challenges in regards to updating a galaxy/cluster in an automated way is to know which cluster_values do not exist anymore in the original source.
If we just iterate over the source, and update our galaxy we will not know which ones were not updated and should therefore be marked as deprecated.

Brainstorm for methods :

  1. an internal variable listing the uuids of the entries that were touched (append()) since a certain moment. Flush it before using. Add a new function to deprecate the delta.
  2. Add a new function to mark all as deprecated at once, and whenever we append() we mark them as non-deprecated
Dominant language
Python
Stars
20
Forks
11
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MISP/PyMISPGalaxies

All issues in MISP/PyMISPGalaxies

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.