Compare commits

..

No commits in common. "4.7.0" and "4.1.0" have entirely different histories.
4.7.0 ... 4.1.0

14 changed files with 191 additions and 36 deletions

View File

@ -1,3 +1,3 @@
4.7.0 4.1.0
last_version: 4.6.0 last_version: 4.0.0
source_branch: feature/mirror-update-pr-11 source_branch: feature/SIENTIAPDE-1379

134
git-apply-patch.sh Normal file
View File

@ -0,0 +1,134 @@
#!/bin/bash
# Applies current directory content as a patch to an existing git repository
#
# Usage: ./git-apply-patch.sh <config-file>
#
# Config file format:
# GIT_URL=https://github.com/user/repo.git
# GIT_USER=username
# GIT_TOKEN=your_token_or_password
#
# VERSION file format:
# <new_version>
# last_version: <previous_version>
# source_branch: <branch_name> (optional)
set -e
if [ -z "$1" ]; then
echo "Usage: $0 <config-file>"
exit 1
fi
CONFIG_FILE="$1"
if [ ! -f "$CONFIG_FILE" ]; then
echo "Error: Config file '$CONFIG_FILE' not found"
exit 1
fi
# Load config file
source "$CONFIG_FILE"
# Validate required fields
if [ -z "$GIT_URL" ]; then
echo "Error: GIT_URL not defined in config file"
exit 1
fi
if [ -z "$GIT_USER" ]; then
echo "Error: GIT_USER not defined in config file"
exit 1
fi
if [ -z "$GIT_TOKEN" ]; then
echo "Error: GIT_TOKEN not defined in config file"
exit 1
fi
# Read VERSION file
if [ ! -f "VERSION" ]; then
echo "Error: VERSION file not found in current directory"
exit 1
fi
NEW_VERSION=$(sed -n '1p' VERSION)
LAST_VERSION=$(sed -n '2p' VERSION | sed 's/last_version: //')
SOURCE_BRANCH=$(sed -n '3p' VERSION | sed 's/source_branch: //')
if [ -z "$NEW_VERSION" ]; then
echo "Error: New version not found in VERSION file (line 1)"
exit 1
fi
if [ -z "$LAST_VERSION" ]; then
echo "Error: last_version not found in VERSION file (line 2)"
exit 1
fi
echo "New version: $NEW_VERSION"
echo "Last version: $LAST_VERSION"
echo "Source branch: ${SOURCE_BRANCH:-N/A}"
# Build authenticated URL
if [[ "$GIT_URL" == https://* ]]; then
URL_WITHOUT_PROTOCOL="${GIT_URL#https://}"
AUTH_URL="https://${GIT_USER}:${GIT_TOKEN}@${URL_WITHOUT_PROTOCOL}"
elif [[ "$GIT_URL" == http://* ]]; then
URL_WITHOUT_PROTOCOL="${GIT_URL#http://}"
AUTH_URL="http://${GIT_USER}:${GIT_TOKEN}@${URL_WITHOUT_PROTOCOL}"
else
echo "Error: URL must start with http:// or https://"
exit 1
fi
# Create temp directory for cloning
TEMP_DIR=$(mktemp -d)
CURRENT_DIR=$(pwd)
echo ""
echo "Cloning repository from branch '$LAST_VERSION'..."
git clone --branch "$LAST_VERSION" --single-branch "$AUTH_URL" "$TEMP_DIR" 2>/dev/null || {
echo "Branch '$LAST_VERSION' not found, trying to clone default branch..."
git clone "$AUTH_URL" "$TEMP_DIR"
cd "$TEMP_DIR"
git checkout -b "$LAST_VERSION" 2>/dev/null || git checkout "$LAST_VERSION"
cd "$CURRENT_DIR"
}
echo "Copying current files to cloned repository..."
# Copy all files except .git, temp dir, and config file
rsync -av \
--exclude='.git' \
--exclude='test' \
--exclude="$(basename "$TEMP_DIR")" \
--exclude="$CONFIG_FILE" \
"$CURRENT_DIR/" "$TEMP_DIR/"
cd "$TEMP_DIR"
echo "Creating new branch '$NEW_VERSION'..."
git checkout -b "$NEW_VERSION" 2>/dev/null || git checkout "$NEW_VERSION"
echo "Adding changes..."
git add -A
echo "Committing changes..."
COMMIT_MSG="Release $NEW_VERSION"
if [ -n "$SOURCE_BRANCH" ]; then
COMMIT_MSG="$COMMIT_MSG (from $SOURCE_BRANCH)"
fi
git commit -m "$COMMIT_MSG" || echo "Nothing to commit"
echo "Pushing to remote..."
git push -u origin "$NEW_VERSION"
# Cleanup
cd "$CURRENT_DIR"
rm -rf "$TEMP_DIR"
echo ""
echo "Done! Patch applied and pushed to branch '$NEW_VERSION'"
echo "Based on previous version: '$LAST_VERSION'"

8
git-config Normal file
View File

@ -0,0 +1,8 @@
# Git repository configuration
# Copy this file and fill with your credentials
# NEVER commit this file with real credentials!
GIT_URL=http://localhost:35703/aignosi/library-distribution-mirror.git
GIT_USER=aignosi
GIT_TOKEN=r8sA8CPHD9!bt6d

View File

@ -1,53 +1,62 @@
#!/bin/bash #!/bin/bash
# Initializes a git repository and pushes to a remote using credentials from arguments # Initializes a git repository and pushes to a remote using credentials from a config file
# #
# Usage: ./git-init-from-config.sh <git-url> <git-user> <git-token> # Usage: ./git-init-from-config.sh <config-file>
# #
# Arguments: # Config file format (one value per line):
# git-url - Repository URL (e.g., https://gitea.example.com/user/repo.git) # GIT_URL=https://github.com/user/repo.git
# git-user - Git username # GIT_USER=username
# git-token - Git token or password # GIT_TOKEN=your_token_or_password
# #
# The branch name will be read from the VERSION file (first line) # The branch name will be read from the VERSION file (first line)
set -e set -e
if [ "$#" -lt 3 ]; then if [ -z "$1" ]; then
echo "Usage: $0 <git-url> <git-user> <git-token>" echo "Usage: $0 <config-file>"
echo "" echo ""
echo "Arguments:" echo "Config file format:"
echo " git-url - Repository URL (e.g., https://gitea.example.com/user/repo.git)" echo " GIT_URL=https://github.com/user/repo.git"
echo " git-user - Git username" echo " GIT_USER=username"
echo " git-token - Git token or password" echo " GIT_TOKEN=your_token_or_password"
echo " GIT_BRANCH=main (optional)"
exit 1 exit 1
fi fi
GIT_URL="$1" CONFIG_FILE="$1"
GIT_USER="$2"
GIT_TOKEN="$3"
if [ ! -f "$CONFIG_FILE" ]; then
echo "Error: Config file '$CONFIG_FILE' not found"
exit 1
fi
# Load config file
source "$CONFIG_FILE"
# Validate required fields
if [ -z "$GIT_URL" ]; then if [ -z "$GIT_URL" ]; then
echo "Error: git-url is required" echo "Error: GIT_URL not defined in config file"
exit 1 exit 1
fi fi
if [ -z "$GIT_USER" ]; then if [ -z "$GIT_USER" ]; then
echo "Error: git-user is required" echo "Error: GIT_USER not defined in config file"
exit 1 exit 1
fi fi
if [ -z "$GIT_TOKEN" ]; then if [ -z "$GIT_TOKEN" ]; then
echo "Error: git-token is required" echo "Error: GIT_TOKEN not defined in config file"
exit 1 exit 1
fi fi
# Read version from VERSION file (first line)
if [ ! -f "VERSION" ]; then if [ ! -f "VERSION" ]; then
echo "Error: VERSION file not found in current directory" echo "Error: VERSION file not found in current directory"
exit 1 exit 1
fi fi
GIT_BRANCH=$(head -n 1 VERSION | tr -d '[:space:]') GIT_BRANCH=$(head -n 1 VERSION)
if [ -z "$GIT_BRANCH" ]; then if [ -z "$GIT_BRANCH" ]; then
echo "Error: VERSION file is empty" echo "Error: VERSION file is empty"
@ -56,6 +65,8 @@ fi
echo "Version detected: $GIT_BRANCH" echo "Version detected: $GIT_BRANCH"
# Build authenticated URL
# Extract protocol and rest of URL
if [[ "$GIT_URL" == https://* ]]; then if [[ "$GIT_URL" == https://* ]]; then
URL_WITHOUT_PROTOCOL="${GIT_URL#https://}" URL_WITHOUT_PROTOCOL="${GIT_URL#https://}"
AUTH_URL="https://${GIT_USER}:${GIT_TOKEN}@${URL_WITHOUT_PROTOCOL}" AUTH_URL="https://${GIT_USER}:${GIT_TOKEN}@${URL_WITHOUT_PROTOCOL}"
@ -88,3 +99,4 @@ git push -u origin "$GIT_BRANCH"
echo "" echo ""
echo "Done! Repository pushed to $GIT_URL on branch $GIT_BRANCH" echo "Done! Repository pushed to $GIT_URL on branch $GIT_BRANCH"

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: boto3 Name: boto3
Version: 1.41.5 Version: 1.41.4
Summary: The AWS SDK for Python Summary: The AWS SDK for Python
Home-page: https://github.com/boto/boto3 Home-page: https://github.com/boto/boto3
Author: Amazon Web Services Author: Amazon Web Services
@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.14
Requires-Python: >= 3.9 Requires-Python: >= 3.9
License-File: LICENSE License-File: LICENSE
License-File: NOTICE License-File: NOTICE
Requires-Dist: botocore (<1.42.0,>=1.41.5) Requires-Dist: botocore (<1.42.0,>=1.41.4)
Requires-Dist: jmespath (<2.0.0,>=0.7.1) Requires-Dist: jmespath (<2.0.0,>=0.7.1)
Requires-Dist: s3transfer (<0.16.0,>=0.15.0) Requires-Dist: s3transfer (<0.16.0,>=0.15.0)
Provides-Extra: crt Provides-Extra: crt

View File

@ -12,8 +12,8 @@
<h1> <h1>
Links for boto3 Links for boto3
</h1> </h1>
<a href="/boto3/boto3-1.41.5-py3-none-any.whl#sha256=bb278111bfb4c33dca8342bda49c9db7685e43debbfa00cc2a5eb854dd54b745" data-requires-python="&gt;= 3.9" data-dist-info-metadata="sha256=329053bf9a9139cc670ba9b8557fe3e7400b57d3137514c9baf0c3209ac04d1f"> <a href="/boto3/boto3-1.41.4-py3-none-any.whl#sha256=77d84b7ce890a9b0c6a8993f8de106d8cf8138f332a4685e6de453965e60cb24" data-requires-python="&gt;= 3.9" data-dist-info-metadata="sha256=c263458fb50f5617ae8ff675602ce4b3eedbbaa5c7b7ccf58a72adc50ea35e56">
boto3-1.41.5-py3-none-any.whl boto3-1.41.4-py3-none-any.whl
</a> </a>
<br /> <br />
</body> </body>

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: botocore Name: botocore
Version: 1.41.5 Version: 1.41.4
Summary: Low-level, data-driven core of boto 3. Summary: Low-level, data-driven core of boto 3.
Home-page: https://github.com/boto/botocore Home-page: https://github.com/boto/botocore
Author: Amazon Web Services Author: Amazon Web Services

View File

@ -12,8 +12,8 @@
<h1> <h1>
Links for botocore Links for botocore
</h1> </h1>
<a href="/botocore/botocore-1.41.5-py3-none-any.whl#sha256=3fef7fcda30c82c27202d232cfdbd6782cb27f20f8e7e21b20606483e66ee73a" data-requires-python="&gt;= 3.9" data-dist-info-metadata="sha256=867c86c9f400df83088bb210e49402344febc90aa6b10d46a0cd02642ae1096c"> <a href="/botocore/botocore-1.41.4-py3-none-any.whl#sha256=7143ef845f1d1400dbbf05d999f8c5e8cfaecd6bd84cbfbe5fa0a40e3a9f6353" data-requires-python="&gt;= 3.9" data-dist-info-metadata="sha256=c54e339761f3067ceebafb82873edf4713098abb5ad00b802f347104b1200a04">
botocore-1.41.5-py3-none-any.whl botocore-1.41.4-py3-none-any.whl
</a> </a>
<br /> <br />
<a href="/botocore/botocore-1.40.70-py3-none-any.whl#sha256=4a394ad25f5d9f1ef0bed610365744523eeb5c22de6862ab25d8c93f9f6d295c" data-requires-python="&gt;= 3.9" data-dist-info-metadata="sha256=ff124fb918cb0210e04c2c4396cb3ad31bbe26884306bf4d35b9535ece1feb27"> <a href="/botocore/botocore-1.40.70-py3-none-any.whl#sha256=4a394ad25f5d9f1ef0bed610365744523eeb5c22de6862ab25d8c93f9f6d295c" data-requires-python="&gt;= 3.9" data-dist-info-metadata="sha256=ff124fb918cb0210e04c2c4396cb3ad31bbe26884306bf4d35b9535ece1feb27">

Binary file not shown.

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.4 Metadata-Version: 2.4
Name: hatchling Name: hatchling
Version: 1.28.0 Version: 1.27.0
Summary: Modern, extensible Python build backend Summary: Modern, extensible Python build backend
Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Homepage, https://hatch.pypa.io/latest/
Project-URL: Sponsor, https://github.com/sponsors/ofek Project-URL: Sponsor, https://github.com/sponsors/ofek
@ -13,18 +13,19 @@ License-File: LICENSE.txt
Keywords: build,hatch,packaging Keywords: build,hatch,packaging
Classifier: Development Status :: 5 - Production/Stable Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Build Tools Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10 Requires-Python: >=3.8
Requires-Dist: packaging>=24.2 Requires-Dist: packaging>=24.2
Requires-Dist: pathspec>=0.10.1 Requires-Dist: pathspec>=0.10.1
Requires-Dist: pluggy>=1.0.0 Requires-Dist: pluggy>=1.0.0
@ -41,7 +42,7 @@ Description-Content-Type: text/markdown
| | | | | |
| --- | --- | | --- | --- |
| Package | [![PyPI - Version](https://img.shields.io/pypi/v/hatchling.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/hatchling/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/hatchling.svg?color=blue&label=Downloads&logo=pypi&logoColor=gold)](https://pypi.org/project/hatchling/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hatchling.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/hatchling/) | | Package | [![PyPI - Version](https://img.shields.io/pypi/v/hatchling.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/hatchling/) [![PyPI - Downloads](https://img.shields.io/pypi/dm/hatchling.svg?color=blue&label=Downloads&logo=pypi&logoColor=gold)](https://pypi.org/project/hatchling/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/hatchling.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/hatchling/) |
| Meta | [![Hatch project](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pypa/hatch/master/docs/assets/badge/v0.json)](https://github.com/pypa/hatch) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![code style - Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/python/mypy) [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/ofek) | | Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![code style - Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![types - Mypy](https://img.shields.io/badge/types-Mypy-blue.svg)](https://github.com/python/mypy) [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/ofek) |
</div> </div>

View File

@ -12,8 +12,8 @@
<h1> <h1>
Links for hatchling Links for hatchling
</h1> </h1>
<a href="/hatchling/hatchling-1.28.0-py3-none-any.whl#sha256=dc48722b68b3f4bbfa3ff618ca07cdea6750e7d03481289ffa8be1521d18a961" data-requires-python="&gt;=3.10" data-dist-info-metadata="sha256=acd3b755437aa07859ebe3ed9b71d94536fa183cc851bbd95b437ba3fe7e09b6"> <a href="/hatchling/hatchling-1.27.0-py3-none-any.whl#sha256=d3a2f3567c4f926ea39849cdf924c7e99e6686c9c8e288ae1037c8fa2a5d937b" data-requires-python="&gt;=3.8" data-dist-info-metadata="sha256=a224ea37d2658f75ccf569e61d849ff7e9297cdac2396022278e82a47b9fed3e">
hatchling-1.28.0-py3-none-any.whl hatchling-1.27.0-py3-none-any.whl
</a> </a>
<br /> <br />
</body> </body>