-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into add-two-step-classifier
- Loading branch information
Showing
32 changed files
with
283 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
[tool.bumpversion] | ||
current_version = "1.9.3-dev0" | ||
parse = """(?x) | ||
(?P<major>0|[1-9]\\d*)\\. | ||
(?P<minor>0|[1-9]\\d*)\\. | ||
(?P<patch>0|[1-9]\\d*) | ||
(?: | ||
- # dash separator for pre-release section | ||
(?P<pre_l>[a-zA-Z-]+) # pre_l: pre-release label | ||
(?P<pre_n>0|[1-9]\\d*) # pre_n: pre-release version number | ||
)? # pre-release section is optional | ||
""" | ||
serialize = [ | ||
"{major}.{minor}.{patch}-{pre_l}{pre_n}", | ||
"{major}.{minor}.{patch}", | ||
] | ||
search = "{current_version}" | ||
replace = "{new_version}" | ||
regex = false | ||
ignore_missing_version = false | ||
ignore_missing_files = false | ||
tag = false | ||
sign_tags = false | ||
tag_name = "v{new_version}" | ||
tag_message = "Bump version: {current_version} → {new_version}" | ||
allow_dirty = false | ||
commit = true | ||
message = "Bump version: {current_version} → {new_version}" | ||
commit_args = "" | ||
setup_hooks = [] | ||
pre_commit_hooks = [] | ||
post_commit_hooks = [] | ||
|
||
[tool.bumpversion.parts.pre_l] | ||
# 'final' is just a dummy, but required to have the versioning compatible with the reusable alphashared workflow | ||
values = ["dev", "final"] | ||
optional_value = "final" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./alphadia/__init__.py" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./gui/src/main/modules/profile.js" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./gui/package.json" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./release/macos/info.plist" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./release/linux/control" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./release/macos/build_package_macos.sh" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./release/macos/distribution.xml" | ||
|
||
[[tool.bumpversion.files]] | ||
filename = "./release/windows/alphadia_innoinstaller.iss" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Bump the version for releases | ||
# Requires a .bumpversion.toml file in the root of the repository | ||
name: Bump version | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
bump_type: | ||
description: 'Bump type' | ||
required: true | ||
default: 'patch' | ||
type: choice | ||
options: | ||
- prerelease | ||
- patch | ||
- minor | ||
- major | ||
|
||
jobs: | ||
bump-version: | ||
uses: MannLabs/alphashared/.github/workflows/bump_version.yml@v1 | ||
secrets: inherit | ||
with: | ||
bump_type: ${{inputs.bump_type}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,3 @@ repos: | |
- id: ruff-format | ||
- id: ruff | ||
args: [ '--fix' ] | ||
|
||
exclude: .bumpversion.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!python | ||
|
||
__version__ = "1.9.2" | ||
__version__ = "1.9.3-dev0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,18 +69,14 @@ See also the [developer guide](developer_guide.md) for more information on how t | |
|
||
### 1. Setting up the repository | ||
|
||
Navigate to a folder where you would like to install alphaDIA and | ||
download the alphaDIA repository. This creates a subfolder `alphadia` in your current directory | ||
Navigate to a folder where you would like to set up the repository and execute | ||
```bash | ||
cd ~/work/search_engines | ||
git clone [email protected]:MannLabs/alphadia.git | ||
cd alphadia | ||
git clone [email protected]:MannLabs/alphadia.git && cd alphadia | ||
``` | ||
|
||
Optionally, to get the latest features, switch to the `development` branch and pull the most recent version | ||
Optionally, get the code version of the latest tag (corresponding to the latest (pre)release): | ||
```bash | ||
git switch development | ||
git pull | ||
git fetch --tags && git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) | ||
``` | ||
|
||
### 2. Installation: backend | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.