Frank Wiles
530fc08f98
Skip GH API test for now
2023-04-26 10:59:07 -05:00
Lacey Williams Henschel
37b56805b9
🔧 Improve catching duplicates
2023-03-27 13:32:00 -07:00
Lacey Williams Henschel
57753b0d74
🔥 Remove dead code
2023-03-27 12:39:34 -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
47eeaee2ef
🔧 Refactor fake email function into util
2023-03-27 12:08:19 -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
523adc6e08
👕 Linter
2023-03-23 13:21:29 -07:00
Lacey Williams Henschel
8eaa78e2c9
🚧 Refactor GitHub API calls into own class
2023-03-23 13:21:09 -07:00
Lacey Williams Henschel
4abdfdf457
🏦 Add key field, add help text and docstring to Library
2023-03-23 12:13:35 -07:00
Lacey Williams Henschel
385518620f
📝 Address libraries_json lists, fix extract_names to accommodate short strings
2023-03-21 10:56:54 -07:00
Lacey Williams Henschel
f64c2ad405
📝 Changes find_user method to find_contributor
2023-03-21 10:42:55 -07:00
Lacey Williams Henschel
f719893264
Merge branch 'main' of github.com:CPPAlliance/boost.org into 144-upload-contributors
2023-03-20 11:14:30 -07:00
Lacey Williams Henschel
aa3591a92e
Merge pull request #156 from CPPAlliance/55-fix-lib-uploads
...
🐛 Fix uploading libraries bug, views bug
2023-03-20 10:52:42 -07:00
Lacey Williams Henschel
c988c8cee4
✨ Add command to create sample data
...
Does not include forum information, blog information.
2023-03-16 12:25:53 -07:00
Lacey Williams Henschel
08dc7be4a1
🚧 Stub methods for creating sample data
2023-03-16 10:32:55 -07:00
Lacey Williams Henschel
f7e71ade6e
🐛 Fix uploading libraries bug, views bug
2023-03-15 15:41:31 -07:00
Lacey Williams Henschel
6346497b04
📝 Match contributors by name when uploading
...
Reduces the duplicates by a lot. Some still remain, mostly related to differences in spelling (Jeff versus Jeffrey) or differences in diacritical marks.
2023-03-15 12:31:45 -07:00
Lacey Williams Henschel
e59ecb824e
🔧 Testing fixes
2023-03-14 14:02:31 -07:00
Lacey Williams Henschel
f1161e0d1c
✨ Add maintainers to lib detail view and template
2023-03-14 13:58:34 -07:00
Lacey Williams Henschel
75fca4626b
🔥 Duplicate tests
2023-03-14 13:55:22 -07:00
Lacey Williams Henschel
a2812c7737
🔧 Small fixes due to variants found in names and emails
2023-03-14 12:41:47 -07:00
Lacey Williams Henschel
2dc3304790
✨ Finish the upload command
2023-03-14 11:25:57 -07:00
Lacey Williams Henschel
be1d7d7c8d
🔥 Dead code
2023-03-10 11:14:16 -08:00
Lacey Williams Henschel
e9a90fa548
🔥 Remove old code, merged in another PR
2023-03-10 10:02:32 -08:00
Lacey Williams Henschel
d86cc4b51e
Merge branch 'main' of github.com:CPPAlliance/boost.org into upload-authors-maintainers
2023-03-10 09:38:49 -08:00
Lacey Williams Henschel
3b7baa7154
✨ Helper command to return contributor data in dict
2023-03-08 14:33:41 -08:00
Lacey Williams Henschel
d32f3db121
✨ Function to extract and reformat email address
2023-03-08 14:16:25 -08:00
Lacey Williams Henschel
f25e3aacf8
✨ Function to generate fake email
2023-03-08 14:12:12 -08:00
Lacey Williams Henschel
96f0264867
✨ Add helper function to extract contributor names
2023-03-08 14:06:42 -08:00
Lacey Williams Henschel
67ceff967b
✨ Add ordering to admin
2023-03-08 13:19:24 -08:00
Lacey Williams Henschel
1ce589a1d4
Merge branch 'main' of github.com:revsys/boost.org into upload-authors-maintainers
2023-03-07 13:41:46 -08:00
Lacey Williams Henschel
da1c28c64b
🔧 Move name extraction to utils
2023-03-03 14:01:44 -08:00
Lacey Williams Henschel
54bb53407b
🔧 Move generate_email to utils
2023-03-03 13:53:49 -08:00
Lacey Williams Henschel
8baaaedc8f
🔧 Reorder functions
2023-03-03 13:48:44 -08:00
Lacey Williams Henschel
f9247e7d24
🔧 Start moving things to testable util functions
...
- Move extract_email to util
- Correct get_names method to strip the formatted email from the string before parsing
2023-03-03 13:47:18 -08:00
Lacey Williams Henschel
f97e2c44b5
🚧 Command to upload lib authors and maintainers
...
WIP. Uses a single, randomly-retrieved library to test.
- Gets the library GH libraries.json
- Extracts author and maintainer data
- For each person:
- Extracts the email if available, or autogenerates a placeholder and marks the email as invalid
- Separates the name fields into First and Last
- For authors, adds the author's User record to the Library's `authors`
- For maintainers, adds the maintainer's User record to the LibraryVersion's `maintainers` (using the most recent Version)
2023-03-03 13:16:30 -08:00
Lacey Williams Henschel
2497be4eaa
✨ Add ordering to admin
2023-03-03 13:12:03 -08:00
Lacey Williams Henschel
bb4bd37713
🏦 Move maintainers M2M to LibraryVersion
2023-03-03 13:11:46 -08:00
Greg Newman
35233a2914
Merge branch 'main' into 88-library-search
2023-03-03 12:03:25 -05:00
Lacey Williams Henschel
597253addb
🔧 👕 Light refactor
2023-03-02 09:12:34 -08:00
Greg Newman
38e2a6aba7
✅ test for library api search
...
* Adds a simple test for the api search view
Issue: #88
2023-02-24 10:38:16 -05:00
Greg Newman
0d18e76692
🔨 refine search
...
* Distinct results
* Adds hover states to results
* Rustywind linted
Issue: #88
2023-02-24 09:59:12 -05:00
Lacey Williams Henschel
0070a37e6c
✨ 🚧 Add function to get user from GH API
2023-02-16 09:54:40 -08:00