-
Notifications
You must be signed in to change notification settings - Fork 38
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
(PC-30523)[API] chore: script to migrate Gibert Joseph to new provider #12923
(PC-30523)[API] chore: script to migrate Gibert Joseph to new provider #12923
Conversation
0cfe7c3
to
4a23027
Compare
101e5b1
to
b227e8a
Compare
if len(venue.venueProviders): | ||
for venue_provider in venue.venueProviders: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(détail)
if len(venue.venueProviders): | |
for venue_provider in venue.venueProviders: | |
for venue_provider in venue.venueProviders: |
Revient au même et est plus direct, non ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'ai repris du code d'un script existant. Je pense que tu as raison mais vu que ce script ne sera mergé, je pense que ce n'est pas grave de le laisser tel quel :)
edit_venue_provider( | ||
2110, # Provider: NUSSEO | ||
[ # Venues: Gibert Joseph venues | ||
18081, | ||
17724, | ||
17723, | ||
17721, | ||
17725, | ||
17726, | ||
17820, | ||
17874, | ||
17825, | ||
17826, | ||
17827, | ||
17828, | ||
17829, | ||
14929, | ||
17836, | ||
17839, | ||
17840, | ||
17842, | ||
17718, | ||
17719, | ||
17680, | ||
17844, | ||
17845, | ||
49517, | ||
], | ||
"matthieu.geoffray@passculture.app", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Est-ce qu'il ne serait pas préférable de laisser ces paramètres hors de la PR ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est un script one shot qui ne va pas être mergé et qui va être runné via le job console donc on garde les éléments en dur.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Et cette adresse email est publique sur git :)
b227e8a
to
5c5115b
Compare
5c5115b
to
e7dcd28
Compare
But de la pull request
Ticket Jira (ou description si BSR) : https://passculture.atlassian.net/browse/PC-30523
Ce script ne sera mergé. Il sera exécuter demain en prod pour permettre au provider NUSSEO de reprendre la main sur les magasins Gilbert Joseph.
Vérifications