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

Release 2.42.1 #597

Merged
merged 64 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
836052f
Chore update Python to 3.12.1
vagabondHustler Jan 18, 2024
0ac65f7
Chore update [build] -> [whl_cp312]
vagabondHustler Jan 18, 2024
2bf0c09
Chore update Python to 3.12.1 (#584)
vagabondHustler Jan 18, 2024
39d379d
Bump version 2.41.1 → 2.41.2dev1
vagabondHustler Jan 18, 2024
33f5ecf
Bump current version 2.41.1 → 2.41.2dev1
vagabondHustler Jan 18, 2024
d22090b
Bump previous version 2.41.1dev5 → 2.41.1
vagabondHustler Jan 18, 2024
6b171b8
Chore change `target-branch` to dev
vagabondHustler Jan 19, 2024
b4fcf4b
Chore change target-branch to dev
vagabondHustler Jan 19, 2024
4a3159c
Chore update CI workflow for `dev` branch
vagabondHustler Jan 19, 2024
3e45d8b
Chore update CI workflow for `dev` branch
vagabondHustler Jan 19, 2024
7c4ecea
Bump version 2.41.2dev1 → 2.41.2dev2
vagabondHustler Jan 19, 2024
e6d2288
Bump current version 2.41.2dev1 → 2.41.2dev2
vagabondHustler Jan 19, 2024
39dc6c2
Bump previous version 2.41.1 → 2.41.2dev1
vagabondHustler Jan 19, 2024
4430de7
chore update GitHub Actions workflow
vagabondHustler Jan 20, 2024
c1cdb49
Fix resolve directory cleanup issue
vagabondHustler Jan 20, 2024
6e2b8d6
Resolve directory cleanup issue (#585)
vagabondHustler Jan 20, 2024
a090669
Chore update branch index logic
vagabondHustler Jan 20, 2024
ae3c098
Fix invalid escape sequences
vagabondHustler Jan 20, 2024
2ab9736
Merge branch 'dev' into fix/invalid_escape_sequences/240120210715
vagabondHustler Jan 20, 2024
0c90df9
Fix invalid escape sequences (#586)
vagabondHustler Jan 20, 2024
1e6d84d
Bump version 2.41.2dev2 → 2.41.2dev3
vagabondHustler Jan 20, 2024
d8e4f21
Bump current version 2.41.2dev2 → 2.41.2dev3
vagabondHustler Jan 20, 2024
8ae714b
Bump previous version 2.41.2dev1 → 2.41.2dev2
vagabondHustler Jan 20, 2024
84cbe0f
Docs update Important note
vagabondHustler Jan 21, 2024
0111088
Bump selectolax from 0.3.17 to 0.3.18
dependabot[bot] Jan 22, 2024
8174317
Bump actions/dependency-review-action from 3 to 4
dependabot[bot] Jan 22, 2024
f374382
Merge branch 'dev' into dependabot/github_actions/actions/dependency-…
vagabondHustler Jan 22, 2024
f8ac005
Merge branch 'dev' into dependabot/pip/selectolax-0.3.18
vagabondHustler Jan 22, 2024
9e8eb0d
Bump selectolax from 0.3.17 to 0.3.18 (#588)
dependabot[bot] Jan 22, 2024
6e84a91
Bump actions/dependency-review-action from 3 to 4 (#589)
dependabot[bot] Jan 22, 2024
bcef50f
Bump psutil from 5.9.7 to 5.9.8
vagabondHustler Jan 22, 2024
0ceba4c
Chore update GitHub Actions workflow
vagabondHustler Jan 22, 2024
366a8f7
Fix missing timestamp in log.log (#590)
vagabondHustler Jan 22, 2024
c8ad380
Fix attributeError
vagabondHustler Jan 22, 2024
48ad1d9
Fix add missing stdout for move best match
vagabondHustler Jan 22, 2024
d137a81
Bump version 2.41.2dev3 → 2.41.2dev4
vagabondHustler Jan 22, 2024
c778193
Bump current version 2.41.2dev3 → 2.41.2dev4
vagabondHustler Jan 22, 2024
e5823b9
Bump previous version 2.41.2dev2 → 2.41.2dev3
vagabondHustler Jan 22, 2024
ea06f61
Bump whl_cp312 cx_freeze to dev22
vagabondHustler Jan 22, 2024
436f320
Merge branch 'dev' of https://github.com/vagabondHustler/subsearch in…
vagabondHustler Jan 22, 2024
4299958
Bump version 2.41.2dev4 → 2.41.2dev5
vagabondHustler Jan 22, 2024
d81737a
Bump current version 2.41.2dev4 → 2.41.2dev5
vagabondHustler Jan 22, 2024
7ffcad0
Bump previous version 2.41.2dev3 → 2.41.2dev4
vagabondHustler Jan 22, 2024
2336f3d
Bump whl_cp312 leif to 0.15.0
vagabondHustler Jan 22, 2024
ca66b89
Enhance download manager functionality (#591)
vagabondHustler Jan 23, 2024
ecb28fe
Bump version 2.41.2dev5 → 2.42.0dev1
vagabondHustler Jan 23, 2024
fe85608
Bump current version 2.41.2dev5 → 2.42.0dev1
vagabondHustler Jan 23, 2024
2b15482
Bump previous version 2.41.2dev4 → 2.41.2dev5
vagabondHustler Jan 23, 2024
68bcdb0
Docs update README.md
vagabondHustler Jan 23, 2024
0eb3859
Fix download count in log and toast (#592)
vagabondHustler Jan 23, 2024
01c82e8
Bump version 2.42.0dev1 → 2.42.0
vagabondHustler Jan 23, 2024
72db48c
Bump current version 2.42.0dev1 → 2.42.0
vagabondHustler Jan 23, 2024
aa9493d
Bump previous version 2.41.2dev5 → 2.42.0dev1
vagabondHustler Jan 23, 2024
06fe4bd
Bump last stable release 2.41.1 → 2.42.0
vagabondHustler Jan 23, 2024
f70ea3f
Merge branch 'main' into dev
vagabondHustler Jan 23, 2024
17504d5
Bump python-dotenv from 1.0.0 to 1.0.1 (#594)
dependabot[bot] Jan 24, 2024
09e88a0
Fix pypi upload error (#595)
vagabondHustler Jan 24, 2024
a09221a
Bump version 2.42.0 → 2.42.1dev1
vagabondHustler Jan 24, 2024
3aba909
Bump current version 2.42.0 → 2.42.1dev1
vagabondHustler Jan 24, 2024
64a67ba
Bump previous version 2.42.0dev1 → 2.42.0
vagabondHustler Jan 24, 2024
fe2d2bf
Chore del unnecessary commit messages in workflow
vagabondHustler Jan 24, 2024
8d306c9
Merge branch 'dev' of https://github.com/vagabondHustler/subsearch in…
vagabondHustler Jan 24, 2024
b7f6a93
Bump version to 2.42.1
vagabondHustler Jan 24, 2024
966f9d3
Merge branch 'main' into dev
vagabondHustler Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.42.0",
"previous_version": "2.42.0dev1",
"last_stable_release": "2.42.0"
"current_version": "2.42.1",
"previous_version": "2.42.1dev1",
"last_stable_release": "2.42.1"
}
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ run-name: Continuous integration

on:
pull_request:
branches: ["dev"]
branches:
- dev

jobs:
dependency_review:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/labler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ run-name: Labler

on:
pull_request:
types: [opened]
types:
- opened

jobs:
pr_labeler:
Expand Down
45 changes: 18 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,44 +116,33 @@ jobs:
run: git tag -a ${{ inputs.new_tags }} -m "Release ${{ inputs.new_tags }}"

- name: Bump subsearch version
run: |
${{ env.CLI}} python --write-string ${{ inputs.new_tags }}
git add ${{ env.VERSION_PY_PATH }}
git commit -S -m "Bump version ${{ steps.version.outputs.version }} → ${{ inputs.new_tags }}"
run: ${{ env.CLI}} python --write-string ${{ inputs.new_tags }}


- name: Bump current version
run: |
${{ env.CLI }} json -w current_version ${{ inputs.new_tags }}
git add ${{ env.VERSION_CONTROL_PATH }}
git commit -S -m "Bump current version ${{ needs.init.outputs.current_tags }} → ${{ inputs.new_tags }}"
run: ${{ env.CLI }} json -w current_version ${{ inputs.new_tags }}


- name: Bump previous version
run: |
${{ env.CLI }} json -w previous_version ${{ needs.init.outputs.current_tags }}
git add ${{ env.VERSION_CONTROL_PATH }}
git commit -S -m "Bump previous version ${{ needs.init.outputs.previous_tags }} → ${{ needs.init.outputs.current_tags }}"
run: ${{ env.CLI }} json -w previous_version ${{ needs.init.outputs.current_tags }}


- name: Bump last stable release
if: ${{ !contains(inputs.new_tags, 'dev') }}
run: |
${{ env.CLI }} json -w last_stable_release ${{ inputs.new_tags }}
git add ${{ env.VERSION_CONTROL_PATH }}
git commit -S -m "Bump last stable release ${{ needs.init.outputs.last_stable_release }} → ${{ inputs.new_tags }}"
run: ${{ env.CLI }} json -w last_stable_release ${{ inputs.new_tags }}

- name: Push stable
if: ${{ !contains(inputs.new_tags, 'dev') }}
- name: Push commits
run: |
git status
git fetch origin ${{ github.ref_name }}
git add ${{ env.VERSION_PY_PATH }} ${{ env.VERSION_CONTROL_PATH }}
git commit -S -m "Bump version to ${{ inputs.new_tags }}"
git push origin HEAD:${{ github.ref_name }}
git push origin --tags

- name: Push develop
if: ${{ contains(inputs.new_tags, 'dev') }}

- name: Push tags
if: ${{ !contains(inputs.new_tags, 'dev') }}
run: |
git status
git fetch origin ${{ github.ref_name }}
git push origin HEAD:${{ github.ref_name }}
git push origin --tags

build_binaries:
name: Build binaries
Expand All @@ -178,7 +167,9 @@ jobs:
run: |
git fetch origin ${{ github.ref_name }}
python -m pip install --upgrade pip
pip install -e .[whl_cp312]
pip install -e .
pip install --force --no-cache --pre --extra-index-url https://marcelotduarte.github.io/packages/ cx_Freeze
pip install build psutil
python -m tools.build bdist_msi

- name: Create hashes file and set outputs
Expand Down Expand Up @@ -398,6 +389,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
gh pr merge --squash --auto --subject "Release ${{ inputs.new_tags }}t" --body "$changelogContent"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Requires Python *3.10+
- Build the executable and MSI installer by running `python -m tools.cx_freeze_build bdist_msi`.

> [!IMPORTANT]
> ###### For Python 3.12+ use pip install -e .[`whl_cp312`...] instead of `build` if you're planning on building the msi/executble yourself, more info [here](https://github.com/marcelotduarte/cx_Freeze/issues/2153).
> ###### If you are using Python 3.12+ and cx_Freeze, please refer to [this issue](https://github.com/marcelotduarte/cx_Freeze/issues/2153).

#### Windows installer <a name = "msi"></a>

Expand All @@ -98,7 +98,7 @@ Requires windows 10/11, probably works on 8.
- Run Subsearch at least once for all the context menu options to appear

> [!NOTE]
> ###### Development builds are typically accessible for a minimum of 7 days. You can locate them from [release.yml](https://github.com/vagabondHustler/subsearch/actions/workflows/release.yml) within the artifacts generated by the associated GitHub Action.
> ###### Development builds can be located in the [release](https://github.com/vagabondHustler/subsearch/actions/workflows/release.yml) action job, within the generated artifacts.

<details>
<summary>Screenshots of PUA message<a name = "pua"></a></summary>
Expand Down
10 changes: 1 addition & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,12 @@
"twine==4.0.2",
"psutil==5.9.8",
]
whl_cp312 = [
"build==1.0.3",
"cx_Freeze @ https://marcelotduarte.github.io/packages/cx-freeze/cx_Freeze-6.16.0.dev22-cp312-cp312-win_amd64.whl",
"cx_Logging @ https://marcelotduarte.github.io/packages/cx-logging/cx_Logging-3.1.0-cp312-cp312-win_amd64.whl",
"lief @ https://marcelotduarte.github.io/packages/lief/lief-0.15.0-cp312-cp312-win_amd64.whl",
"twine==4.0.2",
"psutil==5.9.8",
]
lint = ["black==23.12.1", "isort==5.13.2"]
tests = [
"pytest-cov==4.1.0",
"pytest==7.4.4",
"tox==4.12.1",
"python-dotenv==1.0.0",
"python-dotenv==1.0.1",
]
tools = ["pyperclip==1.8.2"]
type = ["mypy==1.8.0"]
Expand Down
2 changes: 1 addition & 1 deletion src/subsearch/data/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.42.0"
__version__ = "2.42.1"