33 Commits

Author SHA1 Message Date
daveoconnor
00c5be94d4 Release import adjustments (#2045) 2025-12-16 16:13:03 -05:00
daveoconnor
eb708fad1b Fix release note generation race condition (#2027) (#2028) 2025-12-05 13:36:27 -08:00
daveoconnor
591814fea0 Beta release issues fixes (#2004, #2005) (#2011) 2025-12-02 09:02:33 -08:00
daveoconnor
cb5c4ab492 Added module flagging from libraries.json (#1900) (#1926) 2025-09-30 14:35:26 -07:00
Dave O'Connor
61256a1fdf Updated beta import process to retrieve release notes (#1704) 2025-09-08 11:51:45 -04:00
Dave O'Connor
5a035c97ba Fix issue with version not found errors when running certain tasks on version import 2025-08-27 11:19:03 -04:00
Dave O'Connor
178d46c72f Made shas unique when combined with version, added additional logging (#1736) 2025-08-27 11:19:03 -04:00
Dave O'Connor
c6335c2fe2 Updated import commands to allow and default to 'new' functionality. Remove artifactory-related commands. (#1744) 2025-08-27 11:19:03 -04:00
daveoconnor
03e9b86c72 Added logging to fastly purge flow (#1873) (#1887) 2025-08-20 14:32:14 -07:00
daveoconnor
900d3ba583 Correct release report added counts (#1865) 2025-08-11 10:22:30 -07:00
Greg Kaleka
e3a057120a Docs fixes and fix bug in library import (#1788) 2025-05-19 15:13:22 -04:00
daveoconnor
e2a2caebce Improved error processing (#1590) 2025-01-10 13:19:11 -08:00
Brian Perrett
a08c01617a Add management command to run all necessary tasks after a release. (#1562) 2024-12-20 13:01:33 -08:00
Greg Kaleka
6a64dce691 Skip -bgl versions in version_import script (#1478) 2024-11-21 07:54:21 -05:00
Greg Kaleka
aafeab355f Don't skip beta releases when fetching release notes (#1457) 2024-11-18 15:01:13 -05:00
daveoconnor
1d31bef1e4 Library Version Based CPP versions and descriptions (#1422) 2024-11-12 15:49:16 -05:00
Brian Perrett
1afb03d8df Import and add in-progress release notes. (#1416)
- fixes #1155
- add in-progress release notes import to the import_release_notes task
2024-11-07 09:13:18 -08:00
Brian Perrett
20225fa01f Purge Fastly CDN after import_versions. (#1282)
- fixes https://github.com/boostorg/website-v2/issues/1277

- Makes the required POST requests to Fastly to purge the cache for
/release/ as described in the issue.
- Chain the purge function to the import_version task group so that it
runs only after all of the `import_version` tasks have completed
2024-09-26 10:24:34 -07:00
Kenneth Reitz
4860811f9b Add import_archives_release_data command 2024-04-02 17:37:06 -04:00
Lacey Williams Henschel
958cf1a71c Add logic to skip loading some library-versions 2024-02-20 15:15:13 -08:00
Lacey Williams Henschel
e5268ed7d8 Fix Container Hash and other docs:
- Add LibraryVersion inline to LibraryAdmin for easier debugging
- Add convenience function to generate random string
- Adjust Library slug so it functions as unique without being unique
- Add exception logic for older Container Hash versions
- Fix bugs in management commands
- Add exception logic for older Container Hash docs
- Add exception logic for Functional/Overloaded Function docs
- Add task to import all library-versions, and add that to existing admin refresh buttons
- Add logic to import github_url if we dont have it
2024-02-15 10:08:03 -08:00
Lacey Williams Henschel
c95e5407db Add exception logic for Any library
- Fix bug when a libraries.json file is not found
2024-02-07 13:17:48 -08:00
Lacey Williams Henschel
4a7200472b Add exception logic for StringView docs 2024-02-07 10:29:11 -08:00
Lacey Williams Henschel
1ec2a039a3 Add logic to exclude chrono/stopwatch from libraries 2024-02-06 11:23:28 -08:00
Lacey Williams Henschel
5e44e677d6 Refactor into more tasks 2023-12-04 11:42:15 -08:00
Lacey Williams Henschel
69ad8d936e Import historical release notes and save to to database
- Add method to get content of old release notes
- Add cached property with cache key for rendered content
- Add release notes to template
- Add admin for thee rendered content model
- Add import of release nnotes to admin download
2023-11-22 14:41:48 -08:00
Lacey Williams Henschel
465f75a83c Import library-versions for development branches
- Refactor to use tags/ or heads/ endpoint for gitmodules to retrieve master and develop dbranch data
- Change version alert message to accommodate dev versions
- Refactor to get dev version library-versions
2023-11-15 09:54:57 -08:00
Lacey Williams Henschel
2662774eda Add master and develop versions as releases
- Hide downloads table if no downloads
- Add method to add Version by branch name
- Add task to add development versions
- Fix url formatting bug
- Add field to denote a full release
- Add logic to save full_release value for betas, dev versions, and full releases
- Change heading on releases page when it's a dev branch and not a release
2023-11-15 08:55:16 -08:00
Lacey Williams Henschel
c251ff9671 Import most recent beta release
- Split import version into own task
- Add beta field to Version model
- Add task to import most recent beta version
- Accommodate beta releases in Artifactory downloads
- Fix bug in getting proper download files for beta releases
- Add ability to delete old beta versions when importing new beta version
- Hide release notes link for beta releases
- Comment why we don't get old downloads
- Add management command to get most recent beta release
- Add beta import to boost setup command
- Add docs on beta release import
- Get newest beta release when importing releases
- Add manager method to get most recent beta release
- Skip a couple failing tests after confirming behavior is working as expected
2023-10-13 09:32:16 -07:00
Lacey Williams Henschel
863bca5005 - Add API endpoint to import versions
- Move import library versions logic into task
- Add API docs
2023-09-28 09:40:12 -07:00
Lacey Williams Henschel
dd15f520f0 Import library versions in a task that calls the command 2023-09-25 17:35:09 -07:00
Lacey Williams Henschel
8197ac77da Move import versions logic to tasks 2023-09-25 17:35:09 -07:00
Lacey Williams Henschel
7e847cc17f - Move GitHub retrieval and parser classes to the core/ app from the libraries/ app; moved tests, too, and updated import statements
- Add `verbose` flag to `import_versions` to allow user to silence the output
- Removed some unused options from `import_versions`
- Moved the exclusion logic in `import_versions` to its own function
- Stop getting the `github_url` from the github API. Instead, generate it from the tag. (reason: in older tags, the best URL GitHub gives us is a less-useful one to a _commit_ and not a tag. We can generate the url, though.)
- Move the retrieval of the `release_date` to its own task, so it can be loaded async. (reason: it's a separate API call per version to get the date)
- Make `release_date` optional on the `Version` model (reason: make the field easier to load async)
- Simplify logic to retrieve `release_date` and just always retrieve it from the commit
- Stop loading the version `description` from GitHub. We don't use it on the frontend anyway, and in all but the most recent couple of versions, the `description` is the comment from the commit, which is usually not useful.
2023-08-31 15:32:16 -07:00