Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
proofs-algorithms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Samuel Mimram
proofs-algorithms
Commits
8b922d6d
Commit
8b922d6d
authored
2 months ago
by
Samuel Mimram
Browse files
Options
Downloads
Patches
Plain Diff
Remove alco specifics.
parent
5ac66a95
No related branches found
No related tags found
No related merge requests found
Pipeline
#1185060
passed
2 months ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_scripts/sem2ical.py
+0
-25
0 additions, 25 deletions
_scripts/sem2ical.py
with
0 additions
and
25 deletions
_scripts/sem2ical.py
+
0
−
25
View file @
8b922d6d
...
...
@@ -84,13 +84,6 @@ for data in events:
f
.
write
(
mail
)
f
.
close
()
if
(
team
.
lower
()
==
"
alco
"
):
prev_semnextnext
=
prevsem_next
prevsem_next
=
prev_sem
prev_sem
=
"
Recall that next seminar will be on
"
+
datestring
+
"
by
"
+
speaker
prev_sem
+=
(
"
:
"
+
title
)
if
title
!=
"
TBA
"
else
""
prev_sem
+=
"
.
"
# Generate mail for a team
if
date
-
datetime
.
now
(
tz
)
>
timedelta
():
f
=
open
(
"
template.mail
"
)
...
...
@@ -111,24 +104,6 @@ for data in events:
f
.
write
(
mail
)
f
.
close
()
# Generate possibly next talk mail
# (currently only for alco)
if
(
team
.
lower
()
==
"
alco
"
):
if
date
-
datetime
.
now
(
tz
)
>
timedelta
():
f
=
open
(
"
template-next.mail
"
)
mail
=
f
.
read
()
f
.
close
()
mail
=
mail
.
replace
(
"
PREVSEM
"
,
prev_sem
)
mail
=
mail
.
replace
(
"
DATENEXT
"
,
capitalize_first
(
datestringnext
))
mail
=
mail
.
replace
(
"
ROOMNEXT
"
,
roomnext
)
mail
=
mail
.
replace
(
"
SPEAKERNEXT
"
,
speakernext
)
mail
=
mail
.
replace
(
"
TITLENEXT
"
,
titlenext
)
mail
=
mail
.
replace
(
"
ABSTRACTNEXT
"
,
abstractnext
)
mail
=
mail
.
replace
(
"
NEXTSEMNEXT
"
,
prevsem_next
)
f
=
open
(
"
../seminar/mailnextalco.txt
"
,
"
w
"
)
f
.
write
(
mail
)
f
.
close
()
# Generate tweet
if
date
-
datetime
.
now
(
tz
)
>
timedelta
():
f
=
open
(
"
template.tweet
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment