Commit Graph

52 Commits

Author SHA1 Message Date
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
Brian Perrett
2981976b80 Add functionality to track LibraryVersion dependencies (#1524) 2024-12-16 14:28:33 -05:00
Brian Perrett
0d562b551f Generate reports asynchronously (#1421)
- fixes #1415
2024-11-07 15:32:41 -08:00
Brian Perrett
646f916ee6 Updates and additions to release report stats (#1401)
- Add basic line change counts for each x.x.0 library versions.
- import line change counts during `import_commits` task.
- Add `update_issues` management command for importing Issues for each
LibraryVersion.
- Add update issues runnable command in `Issue` admin.
- Build word cloud using mailinglist content.
- Update release report with new data.
2024-10-31 10:14:41 -07:00
Brian Perrett
e230128f61 Add authors to LibraryVersions. (#1347)
- fixes #1325
- reuses the logic that imports authors for libraries to do the same for
LibraryVersions.
- Authors are only added if an email is listed for the author in the
metadata
2024-10-10 10:39:16 -07:00
Brian Perrett
23ebe24273 Import commits for minor versions (#1332)
- Fixes #1327
- Commit import will ignore patch and beta versions.
2024-10-07 11:57:30 -07:00
Brian Perrett
48c09d3d5e Import commits per release and create release reports (#1263)
View stats per release, we do this by
doing log diffs between release tags. Ex: `git log
boost-1.78.0..boost-1.79.0`. The output is parsed and the commits
are saved with a foreign key to the `LibraryVersion` it relates to.

- commits are imported by doing "bare" clones (no project files, only
git data) of repos into temporary directories, as created by python's
bulitin `tempfile.TemporaryDirectory`
- Added Commit model
- Added CommitAuthor model
- Added CommitAuthorEmail model
  - One CommitAuthor can have many emails.
- Added task for importing commits. (and admin link to trigger it)
- Added task for importing CommitAuthor github data (avatar and profile
url, with admin link to trigger it)
- Added a basic Library stat page which can be viewed by going to the
admin -> library -> view stats.
- Added a `Get Release Report` button in the `LibraryAdmin` which allows
a staff member to select a boost version and up to 8 libraries to
generate a report for. The report is just a webpage which attempts to
convert cleanly to a pdf using the browser's print to pdf functionality.
- Updated the Library Detail page to show commits per release instead of
per month.
- Updated the Library Detail page to show `Maintainers & Contributors`
sorted by maintainers, then the top contributors for the selected
release, then the top contributors overall by commits descending.
- Removed CommitData, which was tracking monthly commit stats
2024-09-25 15:09:07 -07:00
Kenneth Reitz
7f3ea1f360 Remove "boost_" prefix from documentation URLs 2024-04-04 10:33:20 -04:00
Lacey Henschel
129e301b0c Fix logic that marks older versions as missing docs
- Add new setting for oldest version in S3, adjust logic for oldest versions missing docs
- Add VS code workspace files to gitignore
- Change MINIMUM_BOOST_VERSION to reflect reality
2024-02-22 12:48:58 -08:00
Lacey Williams Henschel
65cfeb2ace Mark libraries that we know are missing docs as such
- Create a constants file for the library exceptions
- Add version docs missing constant and logic
- Add function to check if version docs are missing
- Add range to missing library-version docs
- Add function to check if library-version docs are missing
2024-02-20 13:51:25 -08:00
Lacey Williams Henschel
6a3f2a5b3a Fix GraphParallel, IO, and Iterator docs links 2024-02-17 16:48:27 -08:00
Lacey Williams Henschel
b7bb979724 Add exception logic for more historical library docs
- Lexical Cast
- Local Function
- Math Quaternion
- Min Max
- Numeric Conversion
- Result Of
- Scope Exit
- Throw Exception
- Type Erasure
- Type Index
- Correction for Value Initialized library

Also:
- Remove version import from docs refresh
- Add more helper functions for docs url generation
2024-02-15 13:37:48 -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
468615dad8 Fix bug where commit counts for libraries were not being updated monthly as they should have been
- Remove the kwargs from the call to update_libraries
- Add placeholder task for commit counts
- Refactor to simplify the commit count logic and pull it out of the management command and into a task
- Adjust schedule
- Add a separate task to update current month commit counts
- Add CommitData to admin, and add functionality to update the CommitData from the admin via button, like other admin features
2024-02-12 11:32:09 -08:00
Lacey Williams Henschel
2ed461d294 Add exception logic for some versions of Member Function docs; fix tests 2024-02-09 11:42:30 -08:00
Lacey Williams Henschel
559ab3f6df Add exception logic for Math Octonion docs 2024-02-09 11:42:30 -08:00
Lacey Williams Henschel
881def7147 Add exception logic for Math Common Factor docs 2024-02-09 11:42:30 -08:00
Lacey Williams Henschel
ba19df67aa Add exception logic for Typed In Place docs 2024-02-09 11:42:30 -08:00
Lacey Williams Henschel
eab88eb401 Add exception logic for Identity Type docs 2024-02-09 10:01:44 -08:00
Lacey Williams Henschel
debf800a8c Add exception logic for GraphParallel docs 2024-02-09 10:01:44 -08:00
Lacey Williams Henschel
f1f4ed6837 Add exception logic for Function Types docs 2024-02-09 10:01:44 -08:00
Lacey Williams Henschel
f3262f1de6 Add exception logic for even older Circular Buffer versions 2024-02-09 10:01:44 -08:00
Lacey Williams Henschel
4156a188c4 Fix exception logic -- html vs htm 2024-02-08 14:21:34 -08:00
Lacey Williams Henschel
771aa36ecf Add exception logic for old Static Assert and Value Initialized docs 2024-02-08 14:02:33 -08:00
Lacey Williams Henschel
d865cf2711 Add exception logic for Multi Array, Multi Index, and Smart Ptr docs 2024-02-08 14:02:33 -08:00
Lacey Williams Henschel
37eaf67b69 Add exception logic for older Iterator libraries 2024-02-08 14:02:33 -08:00
Lacey Williams Henschel
57e1de2db6 Add exception logic for older Interval docs 2024-02-08 13:36:57 -08:00
Lacey Williams Henschel
b9d8778976 Add exception logic for older Compressed Pair docs 2024-02-08 13:20:25 -08:00
Lacey Williams Henschel
759d2d9c28 Add exception logic for older Dynamic Bitset docs 2024-02-08 13:08:00 -08:00
Lacey Williams Henschel
c00d808d40 Add exception logic for older Type Traits docs 2024-02-08 12:42:47 -08:00
Lacey Williams Henschel
0175d34617 Add exception logic for older String Algo docs 2024-02-08 12:21:38 -08:00
Lacey Williams Henschel
189f8e415d Add exception logic for older Program Options docs 2024-02-08 12:21:38 -08:00
Lacey Williams Henschel
a2278179fe Add exception logic for Intrusive docs 2024-02-08 12:21:38 -08:00
Lacey Williams Henschel
3a22792ed0 Add exception logic for older Interprocess docs 2024-02-08 12:21:38 -08:00
Lacey Williams Henschel
fd70ec1b87 Add exception logic for Date Time library 2024-02-08 12:21:38 -08:00
Lacey Williams Henschel
d160b7bddc Add exception logic for older Circular Buffer docs 2024-02-08 12:21:38 -08:00
Lacey Williams Henschel
4f80c1871a Add exception logic for older Call Traits docs 2024-02-08 11:33:06 -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
17da0c8610 Fix docs urls for string-ref 1.77.0 and prior 2024-02-07 09:21:26 -08:00
Lacey Williams Henschel
2ec3702f4e Fix documentation urls for IO library
- Refactor to allow for multiple documentation paths for a single library
- Add more helper functions

Also did a live test
2024-02-05 17:06:54 -08:00
Lacey Williams Henschel
67bea7e52b Add exception logic for WinAPI, add S3 check for valid docs 2024-02-05 14:28:16 -08:00
Lacey Williams Henschel
c9cc3c49b3 Add exception logic to load the Detail docs links
- Add a button to the LibraryVersion admin to reload the docs links
- Add some minimal docs on the admin features
2024-02-05 14:14:55 -08:00
Lacey Williams Henschel
0a9e0a2a7f Clear the static content database cache nightly of old files
- Add `created` and `modified` fields to `RenderedContent` models
- Add caching and RenderedContent docs
- Change cache key for library description rendered content
- Add `CLEAR_STATIC_CONTENT_CACHE_DAYS` setting
- Add manager method and task to clear static content cache
- Move task scheduler to main app
- Add daily task to clear rendered content cache
- Use created date and not updated date
2024-01-10 12:23:17 -08:00
Lacey Williams Henschel
3d473f853a Add admin button to refresh library data 2023-11-08 16:31:01 -08:00
Frank Wiles
4e17d6b8fe Fix comment and time 2023-11-02 09:04:04 -05:00
Frank Wiles
f5fe65bf8b Change library stats update to be daily instead of monthly 2023-11-02 09:00:54 -05:00
Lacey Williams Henschel
eeb615ceff Load docs urls for library-versions from S3
- Add documentation_url to LibraryVersion table
- Retrieve the documentation_url in the view
- If the documentation_url is not present, show the Version documentation_url
- Hide the "https://" in the template
- Add Celery task to retrieve the documentation_urls from the libraries page in S3 and match them to import_library_versions
- Add HTML helper function to extract the libraries and docs URLs from the HTML
- Add one-time command to import docs urls
- Load the documentation_urls in the command that loads all library-versions
- Add a min-release option to the command that loads library-versions
- Document the new command and changes to the existing command
2023-08-04 08:40:00 -07:00
Lacey Williams Henschel
91a1936dcd Change monthly refresh to update only last month's commit counts 2023-07-10 06:22:36 -07:00