Skip to content

Commit

Permalink
Update CI files
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pulpbot committed Jun 2, 2024
1 parent 715cf27 commit 5125bfd
Show file tree
Hide file tree
Showing 9 changed files with 199 additions and 214 deletions.
8 changes: 5 additions & 3 deletions .ci/scripts/collect_changes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/env python3
# WARNING: DO NOT EDIT!
#
# This file was generated by plugin_template, and is managed by it. Please use
Expand All @@ -8,13 +9,14 @@
import itertools
import os
import re
import tomllib

import toml
from git import GitCommandError, Repo
from packaging.version import parse as parse_version

# Read Towncrier settings
tc_settings = toml.load("pyproject.toml")["tool"]["towncrier"]
with open("pyproject.toml", "rb") as fp:
tc_settings = tomllib.load(fp)["tool"]["towncrier"]

CHANGELOG_FILE = tc_settings.get("filename", "NEWS.rst")
START_STRING = tc_settings.get(
Expand Down Expand Up @@ -79,7 +81,7 @@ def main():
old_length = len(main_changes)

for branch in branches:
print(f"Looking at branch {branch}")
print(f"Looking for './{CHANGELOG_FILE}' at branch {branch}")
try:
changelog = get_changelog(repo, branch)
except GitCommandError:
Expand Down
2 changes: 1 addition & 1 deletion .github/template_gitref
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.08.26-335-gdf91f79
2021.08.26-337-g7c7a09a
143 changes: 143 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# Changelog

[//]: # (You should *NOT* be adding new change log entries to this file, this)
[//]: # (file is managed by towncrier. You *may* edit previous change logs to)
[//]: # (fix problems like typo corrections or such.)
[//]: # (To add a new change log entry, please see the contributing docs.)
[//]: # (WARNING: Don't drop the towncrier directive!)

[//]: # (towncrier release notes start)

## 0.5.1 (2024-05-23) {: #0.5.1 }

### Bugfixes

- Fixed the wrong upper bound for pulpcore version requirement.
[#265](https://github.com/pulp/pulp_gem/issues/265)

---

## 0.5.0 (2024-02-12) {: #0.5.0 }

### Features

- Added replica definitions.
[#216](https://github.com/pulp/pulp_gem/issues/216)

### Bugfixes

- Fixed a bug where legacy gems would cause an exception in pulpcore-content.
[#209](https://github.com/pulp/pulp_gem/issues/209)

### Deprecations and Removals

- Bumped the requirement on pulpcore to >=3.39 as the next supported version in the line.

---

## 0.4.1 (2024-02-12) {: #0.4.1 }

### Bugfixes

- Fixed a bug where legacy gems would cause an exception in pulpcore-content.
[#209](https://github.com/pulp/pulp_gem/issues/209)

---

## 0.4.0 (2023-11-03) {: #0.4.0 }

### Features

- Bumped pulpcore compatibility to 3.54.
- Added support for RBAC and domains.
[#154](https://github.com/pulp/pulp_gem/issues/154)

### Deprecations and Removals

- Removed pre 0.2 residua. When you are upgrading from <0.3, and your system was operated on <0.2 before, make sure you have run the corresponding datarepair commands before upgrading the codebase to this version.
[#143](https://github.com/pulp/pulp_gem/issues/143)

---

## 0.3.0 (2023-09-18) {: #0.3.0 }

### Deprecations and Removals

- Added a migration to tell admins to run certain datarepair commands before upgrading to 0.4.
[#141](https://github.com/pulp/pulp_gem/issues/141)

---

## 0.2.0 (2023-08-15) {: #0.2.0 }

### Features

- Added support for gems with a platform that is not "ruby".
[#130](https://github.com/pulp/pulp_gem/issues/130)

### Bugfixes

- Fixed the detection of prerelease versions.
[#114](https://github.com/pulp/pulp_gem/issues/114)
- Added a datarepair-gemspec-platform command to regenerate the gemspec artifacts and properly set the platform attribute on existing gems.
[#130](https://github.com/pulp/pulp_gem/issues/130)
- Fixed the generation of gemspec data.
[#131](https://github.com/pulp/pulp_gem/issues/131)

---

## 0.1.1 (2023-06-29) {: #0.1.1 }

### Bugfixes

- Fixed the detection of prerelease versions.
[#114](https://github.com/pulp/pulp_gem/issues/114)

---

## 0.1.0 (2023-06-26) {: #0.1.0 }

### Features

- Added support for pull-through caching. Add a remote to a distribution to enable this feature.
[#94](https://github.com/pulp/pulp_gem/issues/94)
- Implemented new synching and publishing the compact index format.
Rubymarshal and quick index will still be generated when publishing, but synching is exclusive to the new format.
Added checksum and dependency information to gem content.
Added `prereleases` and `includes` / `excludes` filter to remotes.
[#96](https://github.com/pulp/pulp_gem/issues/96)
- Added compatibility for pulpcore 3.25, pulpcore support is now >=3.25,<3.40.
[#99](https://github.com/pulp/pulp_gem/issues/99)
- Added support to assign a remote to a repository.
[#101](https://github.com/pulp/pulp_gem/issues/101)

### Bugfixes

- Optimized publish task to be significantly faster.
[#93](https://github.com/pulp/pulp_gem/issues/93)

### Improved Documentation

- Added CLI commands to documented workflows.
[#107](https://github.com/pulp/pulp_gem/issues/107)

### Deprecations and Removals

- Disabled synching without compact index format.
Existing content will still be downloadable.
There is a `pulpcore-manager datarepair-shallow-gems` command that will reindex content to the new format given their artifacts are persisted.
[#96](https://github.com/pulp/pulp_gem/issues/96)

---

## 0.0.1b3 (2022-03-01)

### Misc

- [#39](https://github.com/pulp/pulp_gem/issues/39)

---

## 0.0.1b2 (2018-12-19)

No significant changes.
200 changes: 0 additions & 200 deletions CHANGES.rst

This file was deleted.

Loading

0 comments on commit 5125bfd

Please sign in to comment.