mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
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
This commit is contained in:
committed by
Lacey Henschel
parent
c776a51433
commit
c251ff9671
@@ -35,6 +35,9 @@ The `boost_setup` command will run all of the processes listed here:
|
||||
./manage.py update_maintainers
|
||||
./manage.py update_authors
|
||||
./manage.py import_commit_counts
|
||||
|
||||
# Get the most recent beta release, and delete old beta releases
|
||||
./manage.py import_beta_release --delete-versions
|
||||
```
|
||||
|
||||
Read more aboout these [management commands](./commands.md).
|
||||
@@ -47,6 +50,7 @@ Collectively, this is what these management commands accomplish:
|
||||
4. `update_maintainers`: For each `LibraryVersion`, saves the maintainers as `User` objects and makes sure they are associated with the `LibraryVersion`.
|
||||
5. `update_authors`: For each `Library`, saves the authors as `User` objects and makes sure they are associated with the `Library`.
|
||||
6. `import_commit_counts`: For each `Library`, uses information in the GitHub API to save the last 12 months of commit history. One `CommitData` object per library, per month is created to store the number of commits to the `master` branch of that library for that month.
|
||||
7. `import_beta_release`: Retrieves the most recent beta release from GitHub and imports it. If `--delete-versions` is passed, will delete the existing beta releases in the database.
|
||||
|
||||
## Further Reading
|
||||
|
||||
|
||||
Reference in New Issue
Block a user