26 Commits

Author SHA1 Message Date
daveoconnor
00c5be94d4 Release import adjustments (#2045) 2025-12-16 16:13:03 -05:00
daveoconnor
da39d8e8c2 Add "Import new releases" emails (#1872) (#1945) 2025-10-20 09:53:48 -07:00
daveoconnor
8294d3fdb7 Improved logging formatting (#1905) 2025-08-29 15:58:49 -07: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
Greg Kaleka
be14363d1a Store and serve windows binary downloads for releases (#1797) 2025-05-21 14:08:08 -04:00
Greg Kaleka
3093a389ac Cleanup and improvements to formal review pages (#1560) 2024-12-18 17:42:36 -05:00
Greg Kaleka
15698ee478 Make review views dynamic and add import script (#1444) 2024-11-21 07:55:02 -05:00
Greg Kaleka
44829f1556 Add category override mapping and use it in library update method (#1411)
Fixes #1034

- Adds a `CATEGORY_OVERRIDES` mapping
- Uses the override in `update_libraries` management command

### Manual testing
- Ran `./manage.py import_versions`
- Ran `./manage.py update_libraries`
- Static String had the correct category
<img width="440" alt="Screenshot 2024-11-04 at 5 24 05 PM"
src="https://github.com/user-attachments/assets/4b0cf4cb-15e2-4337-9284-7659afd40643">

### Post-deploy tasks
- Ensure `update_libraries` is run
- Verify **Container** category is orphaned
- Delete **Container** category

Co-authored-by: Greg Kaleka <gkaleka@energy-solution.com>
2024-11-05 13:49:00 -05: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
abefe4d234 feat: Import and process release notes for all available versions 2024-06-14 17:29:32 -04:00
Kenneth Reitz
4860811f9b Add import_archives_release_data command 2024-04-02 17:37:06 -04:00
Lacey Williams Henschel
330d53426d Fix JFrog Artifactory download link and add docs
- Remove extra slash
- Add setting for the minimum Artifactory version
- Document Artifactory environment variables and download process
- Update tests
2024-01-10 12:14:10 -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
8197ac77da Move import versions logic to tasks 2023-09-25 17:35:09 -07:00
Lacey Williams Henschel
4f5cb3e645 Add --new flag to import_versions for release manager 2023-09-25 17:35:09 -07:00
Lacey Williams Henschel
214f37986b Streamline import commands and add docs
Add data JSONField to LibraryVersion model

Add fields to library list admin display

Add commands to update authors and maintainers individually

Exclude data JSONField from view querysets

Silence some output from the library-version import management command

Remove unused field from the library-version import management command

Save library-versions more cleanly in the library-version import management command

Remove loading maintainers from the import command, since they now have their own command

Add docs for new commands

Add boost_setup command to run one command to import all data

Add docs on first-time data import

Better exception handling, quieter flow, reduce GH API calls

Graceful handling if there is not a github repo

Pass most recent 12 months to commit counts command

Add some user-friendly output to setup command
2023-09-19 11:17:05 -07:00
Lacey Williams Henschel
5646fa9ea4 Correct setting name 2023-09-07 14:24:58 -07:00
Lacey Williams Henschel
f57b5dcade Add setting for minimum Boost version to import 2023-09-07 14:09:40 -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
Lacey Williams Henschel
faa7478121 Command to download artifactory release data 2023-07-21 06:49:13 -07:00
Lacey Williams Henschel
b897e2d679 Explain an import error log 2023-07-20 09:23:00 -07:00
Lacey Williams Henschel
1a23cf0e28 Skip versions older than 1.0 2023-07-10 06:22:36 -07:00
Natalia
a8cd8f507a Ran pre-commit run -a
Completed runs of black and rest of pre-commit checks.
2023-05-30 23:21:53 -03:00
Lacey Williams Henschel
2b4c0a9399 📝 Add options for skipping existing versions and passing an API token 2023-05-16 11:19:37 -07:00
Lacey Williams Henschel
488ca4d3ba Final command, docs, linter 2023-05-15 10:19:32 -07:00