Commit Graph

58 Commits

Author SHA1 Message Date
Lacey Williams Henschel
9f5db36d3f Try to get the library-version repo with another field if it fails with the submodule name 2023-07-20 09:23:00 -07:00
Lacey Williams Henschel
dd039d20c2 Catch the error with version 1.61.0 2023-07-20 09:23:00 -07:00
Lacey Williams Henschel
b897e2d679 Explain an import error log 2023-07-20 09:23: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
Lacey Williams Henschel
0c6593fdfa Improve locating author records 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
f8475f1009 Refactor to fetch API commit data in method that adds the CommitData objects 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
b26c319bb0 Fix bug related to getting tag info in get_ref 2023-07-10 06:22:36 -07:00
Lacey Williams Henschel
f82d299559 Refactor to make update methods simpler, remove duplicate method 2023-07-10 06:22:36 -07:00
Natalia
8a9af8a137 Fixed code style issues. 2023-06-16 22:04:04 -03:00
Lacey Williams Henschel
688ae87e76 Add methods to retrieve adoc content for libraries
(Part of #394 and #252)

- Add method to the GitHub API class to retrieve a specific file from a repo by its tag and path (to retrieve README or adocc files)
- Add method to Library model to retrieve the description content and render it
- Fail gracefully if no content is found
- Add caching logic for redis and database caching
2023-06-15 15:08:42 -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
ccf21dffa5 Better paging logic 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
bd6d229248 Minor bugfixes 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
5115efd421 Add method to save commit data to model 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
f3fbe63827 Refactor get_commits to include dates 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
9dee6b0e5c Add methods to get number of commits per month 2023-05-26 09:48:55 -07:00
Lacey Williams Henschel
3d17a9ce3c 🔧 Minor refactor, bugfix 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
fdc7fce1e8 📝 Update field names 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
649b7add15 Minor corrections 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
04ecc158d0 🏦 Add date field, save date 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
90f2cc8e06 📝 Fix docstring 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
233d87bc71 Add method to get date first tag for library 2023-05-19 12:55:02 -07:00
Lacey Williams Henschel
480dd2422e Add default val 2023-05-18 09:25:20 -07:00
Lacey Williams Henschel
2499c4891e Style changes, changes per PR review 2023-05-18 09:25:20 -07:00
Lacey Williams Henschel
dedd103807 Add command to import library-versions 2023-05-18 09:25:20 -07: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
Lacey Williams Henschel
eb0a6884b6 168 import versions (#295)
* WIP get old versions

* 🏦 Add URL and data dict to Version model

* 🔧 Some refactoring how we get tag data

* First pass at uploading versions

* 🔧 Move parsing logic to the parser and add tests

* Retrieve url and save json data

* Improve version upload docs

* Linter
2023-05-11 05:59:49 -07:00
Lacey Williams Henschel
37b56805b9 🔧 Improve catching duplicates 2023-03-27 13:32:00 -07:00
Lacey Williams Henschel
7ffa23164c 🔧 Refactor maintainers into GitHub process 2023-03-27 12:39:18 -07:00
Lacey Williams Henschel
87cb14e991 🔧 Refactor contributor methods into GitHub processes 2023-03-27 12:08:52 -07:00
Lacey Williams Henschel
60595cadca 🔥 Skip this check 2023-03-24 15:03:17 -07:00
Lacey Williams Henschel
c54fdcf26c 🔥 Dead code 2023-03-24 14:57:08 -07:00
Lacey Williams Henschel
0c62320304 🔧 Final refactoring and tests 2023-03-24 14:37:38 -07:00
Lacey Williams Henschel
d87b190bce 🔧 Shuffle more methods around into clearer classes 2023-03-24 11:11:29 -07:00
Lacey Williams Henschel
5801bc2cae 🔧 Add the user call to the GH client class 2023-03-24 11:02:50 -07:00
Lacey Williams Henschel
15ee8a6464 🚧 Abstract the API stuff into a class, refactoring 2023-03-24 10:59:33 -07:00
Lacey Williams Henschel
f19cb79e39 🚧 Light refactoring 2023-03-24 10:00:14 -07:00
Lacey Williams Henschel
8eaa78e2c9 🚧 Refactor GitHub API calls into own class 2023-03-23 13:21:09 -07:00
Lacey Williams Henschel
f7e71ade6e 🐛 Fix uploading libraries bug, views bug 2023-03-15 15:41:31 -07:00
Lacey Williams Henschel
597253addb 🔧 👕 Light refactor 2023-03-02 09:12:34 -08:00
Lacey Williams Henschel
0070a37e6c 🚧 Add function to get user from GH API 2023-02-16 09:54:40 -08:00
Lacey Williams Henschel
bd1da4c292 Merge branch 'main' of github.com:revsys/boost.org 2023-01-04 11:16:24 -08:00
Lacey Williams Henschel
52bcaff7ed Import PRs for a library 2022-12-16 10:39:36 -08:00
Lacey Williams Henschel
79120e12cb 🚧 Progress on PR import 2022-12-16 10:13:53 -08:00
Lacey Williams Henschel
17b5ba68aa 🔈 Rename the log 2022-12-15 16:09:22 -08:00
Lacey Williams Henschel
5506ea09fb 🔈 Log exception 2022-12-15 16:09:05 -08:00
Lacey Williams Henschel
24d1ac5080 🔥 remove debugging 2022-12-15 16:05:23 -08:00
Lacey Williams Henschel
e9972f0ffa 🔥 Remove comment 2022-12-15 16:03:57 -08:00
Lacey Williams Henschel
e8d4bbd030 🐛 GH issue titles can be quite long; truncate them 2022-12-15 16:02:42 -08:00