Commit Graph

359 Commits

Author SHA1 Message Date
daveoconnor
e2a2caebce Improved error processing (#1590) 2025-01-10 13:19:11 -08:00
daveoconnor
d2ec29fd52 Fill out develop/master branch support (#1583) 2025-01-08 13:26:06 -08:00
Brian Perrett
340db5e5e3 Show boostdep data in library/release detail and report. (#1568) 2024-12-20 15:00:09 -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
daveoconnor
91f36c3eeb Simplified/centralised version dropdowns population (#1500) (#1510) 2024-12-10 09:29:50 -08:00
Brian Perrett
860e1723cc Add logging within commit update task. (#1520) 2024-12-04 15:12:57 -08:00
daveoconnor
1fd3f6ce5b Fix for release vs latest redirect on doc/libs urls (#1515) 2024-12-04 14:56:05 -08:00
Brian Perrett
e7826ec578 Hide slack activity page if there is no activity. (#1512) 2024-12-02 10:21:54 -08:00
Greg Kaleka
39f3247407 Fix issue with slack stats sorting in report (#1504) 2024-11-27 13:59:24 -05:00
Greg Kaleka
c6bf4b1ff5 Fix report crash issue (#1502) 2024-11-27 13:18:38 -05:00
Greg Kaleka
f85c533dde Consolidate version dropdown code and fix library detail dropdown (#1498) 2024-11-26 21:39:49 -05:00
Brian Perrett
350119e0d7 Add slack activity to release report. (#1490) 2024-11-26 16:54:14 -08:00
daveoconnor
f6a5f4fbcf Make URLs more consistent, refactor libraries/releases (#1489) 2024-11-25 16:08:38 -05:00
Brian Perrett
2503ee6a08 Add contribution graph to release report. (#1480) 2024-11-21 12:15:10 -08:00
Brian Perrett
890a1a3256 Add download links to boost files in release report (#1477) 2024-11-20 13:16:35 -08:00
Brian Perrett
5a72f58e55 Remove per library release notes from release report. (#1474) 2024-11-19 14:56:41 -08:00
Brian Perrett
1b529a5805 Add staff-editable wordcloud ignore list in the admin (#1472)
Co-authored-by: Greg Kaleka <greg@gregkaleka.com>
2024-11-19 14:56:15 -08:00
daveoconnor
e7393d8882 Fix categories not being filtered on library views (#1456) 2024-11-18 11:03:57 -08:00
Brian Perrett
00a4dc7a8f Filter out libraries with 0 commits from release report. (#1451) 2024-11-14 15:24:00 -08:00
daveoconnor
3a0b4eec70 Fix for category library version sort order (#1441) 2024-11-13 16:04:27 -05:00
daveoconnor
2d64635dad Fix for library version sort order (#1440) 2024-11-13 10:50:11 -08:00
Brian Perrett
48c7c87a54 Add the HYPERKITTY_DATABASE_NAME environment variable (#1435) 2024-11-13 09:32:54 -08:00
Greg Kaleka
5d9da9e486 Code formatting fix (#1437)
Co-authored-by: Greg Kaleka <gkaleka@energy-solution.com>
2024-11-12 16:12:45 -05:00
Greg Kaleka
e9ed0aabc9 Add missing README message (#1350) 2024-11-12 15:51:31 -05:00
daveoconnor
1d31bef1e4 Library Version Based CPP versions and descriptions (#1422) 2024-11-12 15:49:16 -05:00
Brian Perrett
dc273c4f49 Keep a list of sublibraries and hide them in reports (#1423) 2024-11-11 11:47:21 -08:00
Brian Perrett
0d562b551f Generate reports asynchronously (#1421)
- fixes #1415
2024-11-07 15:32:41 -08:00
Greg Kaleka
fed0291d9e Libraries by category view only show populated categories for selected version (#1417)
Fixes #1224 

- In libraries-by-category view, filter categories to only ones with
libraries in the selected version
- Added a prefetch to the query to fix the N+1 query (minor performance
improvement)

Before:
<img width="1275" alt="Screenshot 2024-11-05 at 3 54 18 PM"
src="https://github.com/user-attachments/assets/fadd4e56-7101-46bb-ab4f-68d7d01a8879">

After:
<img width="1266" alt="Screenshot 2024-11-05 at 3 53 58 PM"
src="https://github.com/user-attachments/assets/b54f4e20-5928-477e-88c2-dc0082babfc0">

---------

Co-authored-by: Greg Kaleka <gkaleka@energy-solution.com>
2024-11-06 12:21:58 -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
83d486e442 Add release notes to release report (#1409)
- fixes #1407
2024-11-04 14:06:11 -08:00
Brian Perrett
d166f41aab The "authors" value can sometimes be a string. (#1406)
- In the case that it is a string, convert it to a list.
- fixes #1396
2024-10-31 12:28:27 -07:00
Brian Perrett
1d6fb3dc42 Make CommitAuthor admin sortable on name. (#1405)
- fixes #1399
2024-10-31 10:38:05 -07: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
daveoconnor
b75fac0f37 Fix reversion to previous library versions (#1397) (#1400)
This is related to ticket #1397
2024-10-30 11:38:55 -07:00
daveoconnor
9fbf58a5f1 Fix library dropdown switching (#1388)
* Resolves the issue with libraries not updating on version dropdown
selection going back from version to latest
* Fixes edge case of version alert not showing when query params are
deleted from location bar
* Adds refactor of version selection drop downs on library preference
page and cleans up some unused ones.
2024-10-28 16:49:26 -07:00
daveoconnor
64c8a94fb0 Fix for 0023 migrations conflict (#1389) 2024-10-28 15:45:02 -07:00
Gavin Wahl
a552c633b9 Case insensitive URLs for library detail (#1362)
Redirect to the canonical case when it does not match. This adds a
case-insensitive unique constraint on library slugs to make this safe.

Fixes #163
2024-10-25 13:50:29 -06:00
Brian Perrett
bb28aa2d12 Remove calls to deleted tasks. (#1345) 2024-10-25 11:43:48 -07:00
Brian Perrett
d3759cf83d Add mailing list stats to full and release reports. (#1373)
- fixes #1289 and #1290
2024-10-22 09:16:58 -07:00
Gavin Wahl
40dbaf8198 Redirect to latest version on POST (#1361)
This removes the repost dialogue after switching to the latest version.
Fixes #1314
2024-10-21 15:27:45 -06:00
Brian Perrett
fdeb79b8e3 Sync EmailData from hyperkitty. (#1366)
- This work is a prerequisite for #1290 and #1289
- Create an `EmailData` model which holds email counts per
(CommitAuthor, Version).
- Add management command `sync_mailinglist_stats` to query data from the
hyperkitty database and build `EmailData` objects from it
- EmailData.count is calculated between x.x.0 release_dates
- Add button in EmailData admin to trigger task
- Update the `merge_author` method to update EmailData with the Summed
counts per version and delete EmailData which pointed to the
`CommitAuthor` being merged from.
2024-10-21 09:39:09 -07:00
Gavin Wahl
cb25772a13 AsciiDoc use the embedded option (#1344)
Instead of parsing out the HTML body from the full HTML document.

All adoc parsing now goes through `convert_adoc_to_html`. I removed the
`adoc_to_html` task because it was never `.delay`ed, probably because it
doesn't necessarily work: it expects content to be passed in a temp
file, which might not exist on the worker processing the task. The new
function passes the content as a string instead of a temp file.

This removes the `div#header` and `div#content` containers from the
output. It's wrong to have IDs in embeddable html because multiple
asciidoc outputs might be included on the same page, resulting in
duplicate IDs. I couldn't find a place where these containers are
necessary, though, because markdown output doesn't include them,
resulting in a discrepancy in the output for markdown vs asciidoc that
is now fixed. If we need to include the containers, I'd wrap the
asciidoc output in the template where it is used rather than expecting
it to be returned by `convert_adoc_to_html`.

Fixes #1302
2024-10-11 10:34:04 -06: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
2be29b6322 Wrap staff-only views in admin_view (#1333)
- fixes #1245
2024-10-08 13:00:37 -07:00
daveoconnor
463112e5af fixed issues with releases page and versioning (#1300)
* Fixed issues with releases page and versioning
* Added latest support and version alert
* Updated version alert to link to /release and clarify most recent vs
vs "release" selection
* Refactored Libraries and Releases pages to align similar code for
reuse.
2024-10-07 15:42:18 -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
d91611b829 Add library report over all releases. (#1310)
- fixes #1288
2024-10-04 16:01:44 -07:00
Brian Perrett
96de9d234f Fix previous contributors. (#1320) 2024-10-04 09:12:22 -07:00
Brian Perrett
9bf6f156ad Add ability to highlight new contributors. (#1299)
In the library detail page, if a contributor has never contributed
before the selected release, highlight them as a new contributor.
2024-10-02 13:26:41 -07:00