Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions .github/workflows/docker-hub-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ jobs:

- name: Build the Docker image

run: docker build . --file Dockerfile -t mobilesecurity/mdast_cli:2026.7 -t mobilesecurity/mdast_cli:latest
run: docker build . --file Dockerfile -t mobilesecurity/mdast_cli:2026.7.1 -t mobilesecurity/mdast_cli:latest


- name: Docker Hub push latest image
run: docker push mobilesecurity/mdast_cli:latest

- name: Docker Hub push tagged image

run: docker push mobilesecurity/mdast_cli:2026.7
run: docker push mobilesecurity/mdast_cli:2026.7.1



Expand Down
2 changes: 1 addition & 1 deletion mdast_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2026.7'
__version__ = '2026.7.1'
11 changes: 10 additions & 1 deletion mdast_cli/distribution_systems/rustore.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@

logger = logging.getLogger(__name__)

# Since July 2026 RuStore backapi rejects requests without a client version header:
# a missing/non-numeric value returns an empty HTTP 400 from the "kittenx" edge,
# and a numeric value below the minimum returns HTTP 417. The server only enforces
# a lower bound (currently 247) and accepts any larger integer, so we send a value
# far above it that never needs bumping as the real RuStore client version changes.
# Override via the MDAST_RUSTORE_VER_CODE env var if the minimum is ever raised.
RUSTORE_VER_CODE = os.environ.get('MDAST_RUSTORE_VER_CODE', '2000000000')


def get_app_info(package_name):
"""
Expand All @@ -21,7 +29,8 @@ def get_app_info(package_name):
"""
common_headers = {
'User-Agent': 'mdast-cli/1.0 (+https://stingray-tech.ru)',
'Accept': 'application/json'
'Accept': 'application/json',
'ruStoreVerCode': RUSTORE_VER_CODE
}

req = requests.get(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name="mdast_cli",

version='2026.7',
version='2026.7.1',

python_requires='>=3.12',

Expand Down
Loading