Compare commits
No commits in common. "bafcb245f35fa0c66d39d45cb62a04d065255f24" and "7338784e3b5143e0d2fb01639ab58333685835ce" have entirely different histories.
bafcb245f3
...
7338784e3b
@ -11,10 +11,7 @@ from urllib.parse import urlparse
|
|||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
raw_url = urlparse(
|
raw_url = urlparse("https://git.fsfe.org/FSFE/activities/raw/branch/master/activities.csv")
|
||||||
"https://git.fsfe.org/FSFE/activities/raw/branch/master/activities.csv"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def create_activities_file():
|
def create_activities_file():
|
||||||
git_token = os.environ.get("GIT_TOKEN")
|
git_token = os.environ.get("GIT_TOKEN")
|
||||||
@ -44,7 +41,7 @@ def create_activities_file():
|
|||||||
if event:
|
if event:
|
||||||
activities += f' data-event="{event}"'
|
activities += f' data-event="{event}"'
|
||||||
|
|
||||||
activities += ">"
|
activities += '>'
|
||||||
activities += f"{tag} ({description})"
|
activities += f"{tag} ({description})"
|
||||||
activities += "</option>\n"
|
activities += "</option>\n"
|
||||||
|
|
||||||
|
@ -36,11 +36,7 @@ def _process_dir(languages: list[str], target: Path, dir: Path) -> None:
|
|||||||
else basename.with_suffix(".en.xhtml")
|
else basename.with_suffix(".en.xhtml")
|
||||||
),
|
),
|
||||||
processor,
|
processor,
|
||||||
(
|
target_file.with_suffix("").with_suffix(".xmllist"),
|
||||||
source_file.parent.joinpath(
|
|
||||||
"." + basename.name
|
|
||||||
).with_suffix(".xmllist")
|
|
||||||
),
|
|
||||||
Path(f"global/data/texts/.texts.{lang}.xml"),
|
Path(f"global/data/texts/.texts.{lang}.xml"),
|
||||||
Path(f"global/data/topbanner/.topbanner.{lang}.xml"),
|
Path(f"global/data/topbanner/.topbanner.{lang}.xml"),
|
||||||
Path("global/data/texts/texts.en.xml"),
|
Path("global/data/texts/texts.en.xml"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user