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

Development #63

Merged
merged 24 commits into from
Jun 18, 2024
Merged

Development #63

merged 24 commits into from
Jun 18, 2024

Conversation

B-urb
Copy link
Owner

@B-urb B-urb commented Jun 18, 2024

No description provided.

swarnat and others added 24 commits May 29, 2024 18:01
The `Mode` enum was added in this commit to handle different environment states. A new environment variable 'MODE' is now read and parsed, determining the active mode based on its value. This affects the `update_document_fields` function, which now receives the mode as an argument. The `create_custom_field` function has also been introduced to support field creation when running in 'create' mode. see #34
Refactored the process of creating custom fields to return a new custom field instead of returning an empty result. Custom field now is created from a key and string data type, instead of duplicating a field object. Error handling for custom field creation has been improved.
This commit introduces new package dependencies, including chrono and android related packages. It also updates the "CreateField" structure to use "Text" data type instead of "string", improving field creation and error handling in the Paperless module. Lastly, the visibility of the CreateField structure is changed to public. see #34
A new environment variable, MODE, has been added to the list of environments in the README file. This is an experimental feature that changes the mode of operation, allowing Doclytics to automatically create custom fields in Paperless.
…fields

Feature/automatically create customfields
…56

The workflows for push, release, and production release have been updated to include a step to build the Docker image and push it to the GitHub Container Registry. The changes ensure the Docker images are not only pushed to DockerHub but also to GitHub's own container registry.
feat(deployment): add build and push to GitHub Container Registry see…
chore(deps): update rust docker tag to v1.79
This commit changes the repository owner name to lowercase when forming GitHub tags in the push, release, and release-prod workflows. The owner name was previously in its original case, which was resulting in inconsistency in GitHub tags.
# Conflicts:
#	.github/workflows/push.yml
#	.github/workflows/release-prod.yml
#	.github/workflows/release.yml
In the GitHub workflows (`push.yml`, `release.yml`, `release-prod.yml`), the method call to convert the GitHub repository owner name to lowercase was corrected from `lowercase` to `toLowerCase()`. This change will prevent potential errors in case the owner name contains upper case letters.
The actual repository owner was hardcoded as 'b-urb' for image tags in 'push.yml', 'release.yml' and 'release-prod.yml'. The repository owner part in the docker image tags should not be hardcoded, but we have to keep this for now to ensure workflow correctness.
This update adds a step to login to the GitHub Container Registry in the push, release, and release-prod workflow files. The Docker login action is used with `ghcr.io` as the registry and credentials provided by GitHub secrets.
The permissions for 'packages' and 'contents' have been added to the build-docker tasks in the push, release, and release-prod Github workflow files. This update allows these tasks to write packages and read contents, resulting in an improved and more secure continuous integration process.
feat(*): option to add language for base_prompt
chore(deps): update docker/build-push-action action to v6
@B-urb B-urb merged commit feb1575 into master Jun 18, 2024
15 checks passed
@B-urb
Copy link
Owner Author

B-urb commented Jun 18, 2024

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@B-urb B-urb added the released label Jun 18, 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.

2 participants