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

refactor: structure of tools.github_actions #610

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

vagabondHustler
Copy link
Owner

  • Restructure tree of tools.github_actions
  • Update calls in release.yml

- Restructure tree of `tools.github_actions`
- Update calls in `release.yml`
@vagabondHustler vagabondHustler merged commit ae2c329 into dev Jan 28, 2024
5 checks passed
@vagabondHustler vagabondHustler deleted the chore/restructure_tools_github_actions/1835 branch January 28, 2024 17:36
@github-actions github-actions bot mentioned this pull request Jan 28, 2024
github-actions bot added a commit that referenced this pull request Jan 28, 2024
* Chore: add sync branches workflow

- Add new workflow to sync branches on push to main
- Remove outdated workflow for updating dev branch
- Modify release workflow to use a PR subject with release number

* chore: improve git diff prompt

* feat: Install updates directly from GUI (#607)

- The user can now update Subsearch within the GUI
- The new option is only available if the user is using the exe/msi version of Subsearch
- The MSI is downloaded to the `tmp_dir` and removed at next launch of the app

* refactor: Log more event (#608)

- io_log logs more event through out the codebase
- Added a label if `download_manger` is empty

* Bump version to 2.44.0dev1

* refactor: Update software test (#609)

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev2

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev3

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev4

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev5

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev6

* Bump version to 2.44.0dev7

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev4

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev5

Bump version to 2.44.0dev6

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev7

* Bump version to 2.44.0dev8

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev9

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev10

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev11

* refactor: update software test

- output is now a markdown table and easier to read

* Release 2.42.0 (#593)

* Chore update Python to 3.12.1

- Updated Python version in .github/workflows/release.yml
- Updated required Python version in README.md
- Updated Python version in pyproject.toml
- Added Python 3.12 support in tox.ini

* Chore update [build] -> [whl_cp312]

* Bump version 2.41.1 → 2.41.2dev1

* Bump current version 2.41.1 → 2.41.2dev1

* Bump previous version 2.41.1dev5 → 2.41.1

* Chore change `target-branch` to dev

* Chore change target-branch to dev

* Chore update CI workflow for `dev` branch

- Updated CI workflow to trigger on `dev` branch
- Added Python 3.12.* to the matrix for dependency_review job
- Adjusted linting workflow to run on the `dev` branch

* Chore update CI workflow for `dev` branch

- Modified GitHub Actions workflow in release.yml
- Updated references to `inputs.checkout_branch` to `github.ref_name`

* Bump version 2.41.2dev1 → 2.41.2dev2

* Bump current version 2.41.2dev1 → 2.41.2dev2

* Bump previous version 2.41.1 → 2.41.2dev1

* chore update GitHub Actions workflow

- Added `pr_merge` job to create and merge PRs

* Fix resolve directory cleanup issue

- Corrected condition for checking empty directory in core.py

* Chore update branch index logic

- Adjusted index calculation for 'dev' branch

* Fix invalid escape sequences

- Corrected escape sequences in file paths
- Used raw string literals for regular expressions

* Bump version 2.41.2dev2 → 2.41.2dev3

* Bump current version 2.41.2dev2 → 2.41.2dev3

* Bump previous version 2.41.2dev1 → 2.41.2dev2

* Docs update Important note

* Bump selectolax from 0.3.17 to 0.3.18

Bumps [selectolax](https://github.com/rushter/selectolax) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/rushter/selectolax/releases)
- [Changelog](https://github.com/rushter/selectolax/blob/master/CHANGES.rst)
- [Commits](rushter/selectolax@v0.3.17...v0.3.18)

---
updated-dependencies:
- dependency-name: selectolax
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump actions/dependency-review-action from 3 to 4

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@v3...v4)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump psutil from 5.9.7 to 5.9.8

* Chore update GitHub Actions workflow

- Modified workflow to depend on `changelog` instead of `publish_github`

* Fix missing timestamp in log.log (#590)

* Fix log timestamp

- Updated date formatting in log messages
- Removed unused variables in `create_logger` method
- Introduced a singleton class for stdout handling
- Improved stdout messages for file system actions
- Enhanced logging for dataclass instances

* Chore refactor update calls for logging

* Fix attributeError

* Fix add missing stdout for move best match

* Bump version 2.41.2dev3 → 2.41.2dev4

* Bump current version 2.41.2dev3 → 2.41.2dev4

* Bump previous version 2.41.2dev2 → 2.41.2dev3

* Bump whl_cp312 cx_freeze to dev22

* Bump version 2.41.2dev4 → 2.41.2dev5

* Bump current version 2.41.2dev4 → 2.41.2dev5

* Bump previous version 2.41.2dev3 → 2.41.2dev4

* Bump whl_cp312 leif to 0.15.0

* Enhance download manager functionality (#591)

Feat enhance download manager functionality

- Added the option to always use the download manager.
- Introduced the `download_manager.open_on_no_matches` config
- Introduced the `download_manager.always_open` config
- Introduced the `download_manager.no_automatic_downloads` config
- Updated default app configuration and config reading.

- Updated download manager logic to determine when it should open.
- Added additional tests to ensure the proper functioning of the download manager.

- Enhanced download manager functionality with the following features:
  - The download manager now opens in two scenarios: when no matches are found or always, regardless of subtitle count.
  - Users have control over automatic downloads for subtitles that would have been downloaded by default when always using the download manager.
  - Updated the `download_manager` method in the `SubsearchCore` class.
  - Modified the handling of `rejected_subtitles` in the `DownloadManager` class.
  - Improved sorting and display of subtitles in the `DownloadManager`.
  - Added automatic downloads based on an acceptance threshold.
  - Removed temporary zip archives after subtitle extraction.

* Bump version 2.41.2dev5 → 2.42.0dev1

* Bump current version 2.41.2dev5 → 2.42.0dev1

* Bump previous version 2.41.2dev4 → 2.41.2dev5

* Docs update README.md

- Added a Note section for ppl interested in dev builds

* Fix  download count in log and toast (#592)

- Fixed the reported number of downloaded subtitles in the log and displayed as a toast massage

* Bump version 2.42.0dev1 → 2.42.0

* Bump current version 2.42.0dev1 → 2.42.0

* Bump previous version 2.41.2dev5 → 2.42.0dev1

* Bump last stable release 2.41.1 → 2.42.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: vagabondHustler <vagabondhustler.github@gmail.com>
Co-authored-by: vagabondHustler <92130287+vagabondHustler@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release 2.42.1 (#597)

* Release 2.43.0t

#### 📦 Dependencies & workflows:

- Bump cx-freeze from 6.15.12 to 6.15.13 - [PR598](#598)
- Bump black from 23.12.1 to 24.1.0 - [PR599](#599)




###### VirusTotal analysis: [Subsearch-2.43.0-win64.msi](https://www.virustotal.com/gui/file/9037cc727c8654fbf88cb94709d6efb689cdb5321966124f1495e68100ce1eb5)<p>VirusTotal analysis: [Subsearch.exe](https://www.virustotal.com/gui/file/74aab954b10f8eb93e0a33363b7e791197b5dc9b6c991c527187bbe504bba9ec)<p>Full changelog: [2.43.0](2.42.1...2.43.0)

* Release 2.43.1

* Chore: Update configuration files and workflows (#603)

- Refactor 'feature' to 'feat' in configs
- Update GitHub Actions workflows for improved branch handling
- Bump 'feat' label in changelog_builder.json
- Maintain compatibility with 'diff_to_clip' tool

* Fix core.py search provider bug (#604)

- Removed unnecessary call to `provider.aaaaaaaaaaaaaaaaaa`
- Updated `start_search` method to correctly handle empty flag argument

* Chore: decrease app size (#605)

- Exclude unnecessary modules in `build_exe` options

* Bump version to 2.43.1dev1

* Bump version to 2.43.1

---------

Co-authored-by: vagabondHustler <92130287+vagabondHustler@users.noreply.github.com>
Co-authored-by: vagabondHustler <vagabondhustler.github@gmail.com>

* Chore: add sync branches workflow

- Add new workflow to sync branches on push to main
- Remove outdated workflow for updating dev branch
- Modify release workflow to use a PR subject with release number

* chore: improve git diff prompt

* feat: Install updates directly from GUI (#607)

- The user can now update Subsearch within the GUI
- The new option is only available if the user is using the exe/msi version of Subsearch
- The MSI is downloaded to the `tmp_dir` and removed at next launch of the app

* refactor: Log more event (#608)

- io_log logs more event through out the codebase
- Added a label if `download_manger` is empty

* Bump version to 2.44.0dev1

* refactor: Update software test (#609)

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev2

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev3

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev4

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev5

Bump version to 2.44.0dev6

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev7

Bump version to 2.44.0dev4

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

* refactor: clean up module from duplicates

* refactor: clean up module from duplicates

* Bump version to 2.44.0dev12

* refactor: update variable typo

* Bump version to 2.44.0dev13

* refactor: update markdown table

* style: update build job step summary

* Bump version to 2.44.0dev14

* refactor: structure of `tools.github_actions` (#610)

- Restructure tree of `tools.github_actions`
- Update calls in `release.yml`

* Bump version to 2.44.0dev15

* refactor: Remove unused variable (#611)

- Fix potential double count of found subtitles
- Removed `subtitles_found` variable

* Bump version to 2.44.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: vagabondHustler <vagabondhustler.github@gmail.com>
Co-authored-by: vagabondHustler <92130287+vagabondHustler@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
vagabondHustler added a commit that referenced this pull request Jan 28, 2024
* Chore: add sync branches workflow

- Add new workflow to sync branches on push to main
- Remove outdated workflow for updating dev branch
- Modify release workflow to use a PR subject with release number

* chore: improve git diff prompt

* feat: Install updates directly from GUI (#607)

- The user can now update Subsearch within the GUI
- The new option is only available if the user is using the exe/msi version of Subsearch
- The MSI is downloaded to the `tmp_dir` and removed at next launch of the app

* refactor: Log more event (#608)

- io_log logs more event through out the codebase
- Added a label if `download_manger` is empty

* Bump version to 2.44.0dev1

* refactor: Update software test (#609)

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev2

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev3

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev4

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev5

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev6

* Bump version to 2.44.0dev7

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev4

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev5

Bump version to 2.44.0dev6

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev7

* Bump version to 2.44.0dev8

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev9

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev10

* refactor: update software test

- output is now a markdown table and easier to read

* Bump version to 2.44.0dev11

* refactor: update software test

- output is now a markdown table and easier to read

* Release 2.42.0 (#593)

* Chore update Python to 3.12.1

- Updated Python version in .github/workflows/release.yml
- Updated required Python version in README.md
- Updated Python version in pyproject.toml
- Added Python 3.12 support in tox.ini

* Chore update [build] -> [whl_cp312]

* Bump version 2.41.1 → 2.41.2dev1

* Bump current version 2.41.1 → 2.41.2dev1

* Bump previous version 2.41.1dev5 → 2.41.1

* Chore change `target-branch` to dev

* Chore change target-branch to dev

* Chore update CI workflow for `dev` branch

- Updated CI workflow to trigger on `dev` branch
- Added Python 3.12.* to the matrix for dependency_review job
- Adjusted linting workflow to run on the `dev` branch

* Chore update CI workflow for `dev` branch

- Modified GitHub Actions workflow in release.yml
- Updated references to `inputs.checkout_branch` to `github.ref_name`

* Bump version 2.41.2dev1 → 2.41.2dev2

* Bump current version 2.41.2dev1 → 2.41.2dev2

* Bump previous version 2.41.1 → 2.41.2dev1

* chore update GitHub Actions workflow

- Added `pr_merge` job to create and merge PRs

* Fix resolve directory cleanup issue

- Corrected condition for checking empty directory in core.py

* Chore update branch index logic

- Adjusted index calculation for 'dev' branch

* Fix invalid escape sequences

- Corrected escape sequences in file paths
- Used raw string literals for regular expressions

* Bump version 2.41.2dev2 → 2.41.2dev3

* Bump current version 2.41.2dev2 → 2.41.2dev3

* Bump previous version 2.41.2dev1 → 2.41.2dev2

* Docs update Important note

* Bump selectolax from 0.3.17 to 0.3.18

Bumps [selectolax](https://github.com/rushter/selectolax) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/rushter/selectolax/releases)
- [Changelog](https://github.com/rushter/selectolax/blob/master/CHANGES.rst)
- [Commits](rushter/selectolax@v0.3.17...v0.3.18)

---
updated-dependencies:
- dependency-name: selectolax
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump actions/dependency-review-action from 3 to 4

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@v3...v4)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump psutil from 5.9.7 to 5.9.8

* Chore update GitHub Actions workflow

- Modified workflow to depend on `changelog` instead of `publish_github`

* Fix missing timestamp in log.log (#590)

* Fix log timestamp

- Updated date formatting in log messages
- Removed unused variables in `create_logger` method
- Introduced a singleton class for stdout handling
- Improved stdout messages for file system actions
- Enhanced logging for dataclass instances

* Chore refactor update calls for logging

* Fix attributeError

* Fix add missing stdout for move best match

* Bump version 2.41.2dev3 → 2.41.2dev4

* Bump current version 2.41.2dev3 → 2.41.2dev4

* Bump previous version 2.41.2dev2 → 2.41.2dev3

* Bump whl_cp312 cx_freeze to dev22

* Bump version 2.41.2dev4 → 2.41.2dev5

* Bump current version 2.41.2dev4 → 2.41.2dev5

* Bump previous version 2.41.2dev3 → 2.41.2dev4

* Bump whl_cp312 leif to 0.15.0

* Enhance download manager functionality (#591)

Feat enhance download manager functionality

- Added the option to always use the download manager.
- Introduced the `download_manager.open_on_no_matches` config
- Introduced the `download_manager.always_open` config
- Introduced the `download_manager.no_automatic_downloads` config
- Updated default app configuration and config reading.

- Updated download manager logic to determine when it should open.
- Added additional tests to ensure the proper functioning of the download manager.

- Enhanced download manager functionality with the following features:
  - The download manager now opens in two scenarios: when no matches are found or always, regardless of subtitle count.
  - Users have control over automatic downloads for subtitles that would have been downloaded by default when always using the download manager.
  - Updated the `download_manager` method in the `SubsearchCore` class.
  - Modified the handling of `rejected_subtitles` in the `DownloadManager` class.
  - Improved sorting and display of subtitles in the `DownloadManager`.
  - Added automatic downloads based on an acceptance threshold.
  - Removed temporary zip archives after subtitle extraction.

* Bump version 2.41.2dev5 → 2.42.0dev1

* Bump current version 2.41.2dev5 → 2.42.0dev1

* Bump previous version 2.41.2dev4 → 2.41.2dev5

* Docs update README.md

- Added a Note section for ppl interested in dev builds

* Fix  download count in log and toast (#592)

- Fixed the reported number of downloaded subtitles in the log and displayed as a toast massage

* Bump version 2.42.0dev1 → 2.42.0

* Bump current version 2.42.0dev1 → 2.42.0

* Bump previous version 2.41.2dev5 → 2.42.0dev1

* Bump last stable release 2.41.1 → 2.42.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: vagabondHustler <vagabondhustler.github@gmail.com>
Co-authored-by: vagabondHustler <92130287+vagabondHustler@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release 2.42.1 (#597)

* Release 2.43.0t

- Bump cx-freeze from 6.15.12 to 6.15.13 - [PR598](#598)
- Bump black from 23.12.1 to 24.1.0 - [PR599](#599)

* Release 2.43.1

* Chore: Update configuration files and workflows (#603)

- Refactor 'feature' to 'feat' in configs
- Update GitHub Actions workflows for improved branch handling
- Bump 'feat' label in changelog_builder.json
- Maintain compatibility with 'diff_to_clip' tool

* Fix core.py search provider bug (#604)

- Removed unnecessary call to `provider.aaaaaaaaaaaaaaaaaa`
- Updated `start_search` method to correctly handle empty flag argument

* Chore: decrease app size (#605)

- Exclude unnecessary modules in `build_exe` options

* Bump version to 2.43.1dev1

* Bump version to 2.43.1

---------

Co-authored-by: vagabondHustler <92130287+vagabondHustler@users.noreply.github.com>
Co-authored-by: vagabondHustler <vagabondhustler.github@gmail.com>

* Chore: add sync branches workflow

- Add new workflow to sync branches on push to main
- Remove outdated workflow for updating dev branch
- Modify release workflow to use a PR subject with release number

* chore: improve git diff prompt

* feat: Install updates directly from GUI (#607)

- The user can now update Subsearch within the GUI
- The new option is only available if the user is using the exe/msi version of Subsearch
- The MSI is downloaded to the `tmp_dir` and removed at next launch of the app

* refactor: Log more event (#608)

- io_log logs more event through out the codebase
- Added a label if `download_manger` is empty

* Bump version to 2.44.0dev1

* refactor: Update software test (#609)

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev2

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev3

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev4

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev5

Bump version to 2.44.0dev6

refactor: update software test

- output is now a markdown table and easier to read

Bump version to 2.44.0dev7

Bump version to 2.44.0dev4

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

refactor: update software test

- output is now a markdown table and easier to read

* refactor: clean up module from duplicates

* refactor: clean up module from duplicates

* Bump version to 2.44.0dev12

* refactor: update variable typo

* Bump version to 2.44.0dev13

* refactor: update markdown table

* style: update build job step summary

* Bump version to 2.44.0dev14

* refactor: structure of `tools.github_actions` (#610)

- Restructure tree of `tools.github_actions`
- Update calls in `release.yml`

* Bump version to 2.44.0dev15

* refactor: Remove unused variable (#611)

- Fix potential double count of found subtitles
- Removed `subtitles_found` variable

* Bump version to 2.44.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: vagabondHustler <vagabondhustler.github@gmail.com>
Co-authored-by: vagabondHustler <92130287+vagabondHustler@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

1 participant