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

Make preservation system configurable #755

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

Diogenesoftoronto
Copy link
Contributor

This is change exists to allow for the taskqueue to determine whether or not to use archivematica or not. This could be done in a different way than the current option which is to set the preservation system variable to the a3m taskqueue. I think that simply using the taskqueue variable was a little awkward since it was tide to the a3m configuration struct. I think perhaps changing the a3m struct to a more general purpose preservation system struct or creating a new preservation struct may be more useful.

Copy link
Collaborator

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Diogenesoftoronto I requested a couple of changes.

internal/config/config.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more change requests @Diogenesoftoronto.

cmd/enduro-a3m-worker/main.go Outdated Show resolved Hide resolved
enduro.toml Outdated Show resolved Hide resolved
internal/config/config.go Outdated Show resolved Hide resolved
internal/workflow/processing.go Outdated Show resolved Hide resolved
internal/workflow/processing.go Outdated Show resolved Hide resolved
internal/workflow/processing.go Outdated Show resolved Hide resolved
internal/workflow/processing_test.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more change request @Diogenesoftoronto. Almost there. :)

cmd/enduro-a3m-worker/main.go Outdated Show resolved Hide resolved
internal/pres/config.go Outdated Show resolved Hide resolved
internal/workflow/processing.go Outdated Show resolved Hide resolved
@Diogenesoftoronto
Copy link
Contributor Author

the last two commits add comment and remove variable are the only important changes. I just did some rebasing on main.

Copy link
Collaborator

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Diogenesoftoronto the a3m worker task queue still needs to be changed.

Copy link
Collaborator

@djjuhasz djjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Diogenesoftoronto looks good 👍

This commit includes several updates and improvements to the preservation
system. The changes are summarized as follows:

- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.

These changes aim to enhance the functionality and maintainability of the
preservation system.
@Diogenesoftoronto Diogenesoftoronto merged commit 13d8e33 into dev/am-workflow Nov 8, 2023
9 checks passed
@Diogenesoftoronto Diogenesoftoronto deleted the dev/am-config-preservation branch November 8, 2023 22:19
djjuhasz pushed a commit that referenced this pull request Nov 9, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
djjuhasz pushed a commit that referenced this pull request Nov 9, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
djjuhasz pushed a commit that referenced this pull request Nov 9, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
djjuhasz pushed a commit that referenced this pull request Nov 14, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
djjuhasz pushed a commit that referenced this pull request Nov 20, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
djjuhasz pushed a commit that referenced this pull request Nov 20, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
djjuhasz pushed a commit that referenced this pull request Nov 20, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
djjuhasz pushed a commit that referenced this pull request Nov 20, 2023
- Hardcoded the a3m taskqueue name for better efficiency and optimization.
- Added comments to enhance code readability and understanding.
- Removed unnecessary variable to improve code clarity.
- Modified names for better consistency and clarity.
- Removed a comment that was no longer relevant.
- Created a preservation config struct to make the system more configurable
and adaptable.
- Implemented configuration options for the preservation
system to allow customization and flexibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants