Skip to content

Commit

Permalink
Release (#2.44.0)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
4 people authored Jan 28, 2024
1 parent 0197528 commit 128422a
Show file tree
Hide file tree
Showing 29 changed files with 484 additions and 342 deletions.
6 changes: 3 additions & 3 deletions .github/configs/version_control.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"current_version": "2.43.1",
"previous_version": "2.43.1dev1",
"last_stable_release": "2.43.1"
"current_version": "2.44.0",
"previous_version": "2.44.0dev15",
"last_stable_release": "2.44.0"
}
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ jobs:
run: ls -R
working-directory: ${{ steps.download.outputs.download-path }}

- run: ${{ env.CLI }} binaries --run-test -t install -f msi_artifact
- run: ${{ env.CLI }} binaries --run-test -t executable
- run: ${{ env.CLI }} binaries --run-test -t uninstall -f msi_artifact
- run: python -m tools.github_actions.jobs.test_binaries

upload_binaries:
name: Upload binaries to virustotal
Expand Down Expand Up @@ -389,6 +387,6 @@ jobs:
git fetch --all
$changelogContent = Get-Content -Raw "artifacts\changelog_${{ env.ID }}\${{ env.CHANGELOG_NAME }}"
gh pr create --base main --head dev --title "Release ${{ inputs.new_tags }}" --body "$changelogContent" --base main
gh pr merge --squash --auto --subject "Release ${{ inputs.new_tags }}"
gh pr merge --squash --auto --subject "Release (#${{ inputs.new_tags }})"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/sync_branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync branches
run-name: Sync branches

on:
push:
branches:
- main

jobs:
sync-branches:
runs-on: windows-latest

steps:
- name: Checkout dev branch
uses: actions/checkout@v4


- name: Sync branches
run: |
git checkout main
git push origin --delete dev
git checkout -b dev
git push origin dev
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 0 additions & 23 deletions .github/workflows/update_dev.yml

This file was deleted.

Loading

0 comments on commit 128422a

Please sign in to comment.