Skip to content

Fix create issue script #2876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add docstring
  • Loading branch information
sofide committed Nov 21, 2024
commit d3baf3356df9c911f13e38ade228a9e5e6cd54b3
8 changes: 6 additions & 2 deletions scripts/create_issue.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Use together with `pageviews.py`
# python scripts/pageviews.py | head -n 150 | grep -v whats | cut -d ' ' -f 2 | sed 's/\.html/\.po/g' | xargs -I '{}' python scripts/create_issue.py '{}'
"""
Run this script with one variable:
- PO filename to create an issue for that file
- or '--all' to create the issues for all untranslated files that doesn't have an open issue already
- or '--one' to create the next one issue
"""

import os
import sys
Expand Down