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

Transaction Store and Load API #999

Closed
7 tasks done
kontura opened this issue Nov 6, 2023 · 6 comments
Closed
7 tasks done

Transaction Store and Load API #999

kontura opened this issue Nov 6, 2023 · 6 comments
Assignees
Labels
Priority: HIGH Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Milestone

Comments

@kontura
Copy link
Contributor

kontura commented Nov 6, 2023

Operations such as System Upgrade, Offline Upgrade, History Replay, History Redo, History Store and others require an API for storing and loading transactions.

  • Add an API to store (serialize) a transaction into a JSON data format. We will need to be able to serialize both base::transaction and transaction::transaction (history transaction).
  • Add API to load the JSON serialized transaction into a Goal.

The first part is done but we still need:

  • Fix environments handling - requires ABI break
  • Add groups/environments replaying without loaded repos
  • Verify functionality without loading repos
  • Enable/Add CI tests
  • Integrate running without loading repos into offline command (system-upgrade)

The API should support packages (RPMs), groups, environments and potentially also modules.

@kontura kontura self-assigned this Nov 6, 2023
@kontura kontura added Priority: HIGH Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take labels Nov 6, 2023
@kontura kontura added this to DNF team Nov 6, 2023
@kontura kontura moved this from Backlog to In Progress in DNF team Nov 6, 2023
@github-project-automation github-project-automation bot moved this to Backlog in DNF team Nov 6, 2023
@kontura
Copy link
Contributor Author

kontura commented Nov 6, 2023

The first draft of the API is in PR: #978

@evan-goode
Copy link
Member

Second draft of the API is PR #1005

@jan-kolarik
Copy link
Member

Related issue to the mentioned ABI break: #1025.

@kontura
Copy link
Contributor Author

kontura commented Feb 22, 2024

Comps and running without loading repos PR: #1264

@jan-kolarik jan-kolarik modified the milestones: Fedora 40, Fedora 41 May 13, 2024
@kontura
Copy link
Contributor Author

kontura commented Jul 23, 2024

The API is finished.

@kontura kontura closed this as completed Jul 23, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in DNF team Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: HIGH Triaged Someone on the DNF 5 team has read the issue and determined the next steps to take
Projects
Archived in project
Development

No branches or pull requests

3 participants