[meta] partners: cleanup of duplicated helpers and constants
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start by locating SourceStatus in partners/model.py and every copy in models/partner_outing.py, the migration and FAILURE_STATUSES; then trace the duplicated fixtures/secrets code between the job and partners/main.py. Compare jobs/init.py helpers with _interval_minutes/_setting_is_true and gulliver's _int/_float with normalise.to_int before touching author_url. Done means the duplicates are removed or shared, the migration statuses are pinned by a test, and author_url is either populated with a documented source or dropped.
Written by the indexing model from the issue text.
Description
From the M1 integration review of meta. Target branch: meta. Tracking: c2corg/metaskirando-archive#2
- The source statuses are defined in 4 places:
partners/model.py,models/partner_outing.py, the migration andFAILURE_STATUSES. Derive them withtyping.get_args(SourceStatus)and pin the migration in a test. - The default fixtures dir and the secrets reader are duplicated between the job and
partners/__main__.py. jobs/__init__.pyre-implements_interval_minutes, and_setting_is_trueduplicatesremovals_auto.- gulliver's
_int/_floatduplicatenormalise.to_int. author_urlis never filled. Fill it (skitour user id → profile URL, gulliver nicename) or drop the column.
Generated by Claude Code
- Dominant language
- Python
- Stars
- 25
- Forks
- 30
- Avg merge
- 8h 3m
- Merged PRs (30d)
- 255
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from c2corg/v6_api
-
metaskirando
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
metaskirando
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
bug: api backend is not resilient to ES errorsPossibly taken @eddy-geek claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
metaskirando
Difficulty 3/5 Half a day Newbie friendliness 58/100
Maintainers usually reply within 1 day
-
metaskirando
Difficulty 3/5 1-2 days Newbie friendliness 42/100
Maintainers usually reply within 1 day
Similar issues
-
`gitlab_importer_v2` pipeline failing due to malformed YAML filePossibly taken @Gowri213 claimed this today. Openbug Pipeline: Failure Priority: high
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aboutcode-org/vulnerablecode#2523 · 1 comment ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
intuitem/ciso-assistant-community#5380 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
confluentinc/cp-ansible#2767 ·
Maintainers usually reply within 3 days
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 2 days