Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
memopol
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
32
Issues
32
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Political Memory
memopol
Commits
db9ebfb6
Commit
db9ebfb6
authored
Jun 05, 2017
by
Okhin
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing bin/ scripts and fixing the damn issue.
parent
b6896af2
Pipeline
#1096
passed with stage
in 9 minutes and 25 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
78 deletions
+78
-78
bin/update_dossiers
bin/update_dossiers
+1
-1
bin/update_proposals
bin/update_proposals
+1
-1
bin/update_representatives
bin/update_representatives
+1
-1
bin/update_votes
bin/update_votes
+1
-1
src/representatives/contrib/francedata/variants.py
src/representatives/contrib/francedata/variants.py
+74
-74
No files found.
bin/update_dossiers
View file @
db9ebfb6
#!/bin/bash
set
-
e
x
set
-x
source
bin/lib.sh
...
...
bin/update_proposals
View file @
db9ebfb6
#!/bin/bash
set
-
e
x
set
-x
source
bin/lib.sh
...
...
bin/update_representatives
View file @
db9ebfb6
#!/bin/bash
set
-
e
x
set
-x
source
bin/lib.sh
...
...
bin/update_votes
View file @
db9ebfb6
#!/bin/bash
set
-
e
x
set
-x
source
bin/lib.sh
...
...
src/representatives/contrib/francedata/variants.py
View file @
db9ebfb6
...
...
@@ -127,132 +127,132 @@ _get_an_delegations = DelegationHelper({}, {}, False)
FranceDataVariants
=
{
"AN"
:
{
"chamber"
:
u
"Assemblée nationale"
,
"abbreviation"
:
"AN"
,
"chamber_url_field"
:
"url_an"
,
"mail_domain"
:
"@assemblee-nationale.fr"
,
"off_city"
:
"Paris"
,
"abbreviation"
:
u
"AN"
,
"chamber_url_field"
:
u
"url_an"
,
"mail_domain"
:
u
"@assemblee-nationale.fr"
,
"off_city"
:
u
"Paris"
,
"off_street"
:
u
"Rue de l'Université"
,
"off_number"
:
"126"
,
"off_code"
:
"75355"
,
"off_number"
:
u
"126"
,
"off_code"
:
u
"75355"
,
"off_name"
:
u
"Assemblée nationale"
,
"mandates"
:
[
{
"kind"
:
"chamber"
,
"kind"
:
u
"chamber"
,
"chamber"
:
True
,
"abbr"
:
"AN"
,
"abbr"
:
u
"AN"
,
"name"
:
u
"Assemblée nationale"
,
"role"
:
u
"Député"
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"group"
,
"kind"
:
u
"group"
,
"chamber"
:
True
,
"abbr"
:
"%(groupe_sigle)s"
,
"name_path"
:
"groupe/organisme"
,
"role_path"
:
"groupe/fonction"
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"abbr"
:
u
"%(groupe_sigle)s"
,
"name_path"
:
u
"groupe/organisme"
,
"role_path"
:
u
"groupe/fonction"
,
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"department"
,
"abbr"
:
"%(num_deptmt)s"
,
"name"
:
"%(nom_circo)s"
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"kind"
:
u
"department"
,
"abbr"
:
u
"%(num_deptmt)s"
,
"name"
:
u
"%(nom_circo)s"
,
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"district"
,
"abbr"
:
"%(num_deptmt)s-%(num_circo)s"
,
"kind"
:
u
"district"
,
"abbr"
:
u
"%(num_deptmt)s-%(num_circo)s"
,
"name_fn"
:
_get_rep_district_name
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"committee"
,
"kind"
:
u
"committee"
,
"chamber"
:
True
,
"from"
:
_get_an_committees
,
"abbr"
:
"%(abbr)s"
,
"name"
:
"%(name)s"
,
"role"
:
"%(role)s"
,
"start"
:
"%(start)s"
,
"end"
:
"%(end)s"
"abbr"
:
u
"%(abbr)s"
,
"name"
:
u
"%(name)s"
,
"role"
:
u
"%(role)s"
,
"start"
:
u
"%(start)s"
,
"end"
:
u
"%(end)s"
},
{
"kind"
:
"delegation"
,
"kind"
:
u
"delegation"
,
"chamber"
:
True
,
"from"
:
_get_an_delegations
,
"abbr"
:
"%(abbr)s"
,
"name"
:
"%(name)s"
,
"role"
:
"%(role)s"
,
"start"
:
"%(start)s"
,
"end"
:
"%(end)s"
"abbr"
:
u
"%(abbr)s"
,
"name"
:
u
"%(name)s"
,
"role"
:
u
"%(role)s"
,
"start"
:
u
"%(start)s"
,
"end"
:
u
"%(end)s"
}
]
},
"SEN"
:
{
"chamber"
:
u
"Sénat"
,
"abbreviation"
:
"SEN"
,
"chamber_url_field"
:
"url_institution"
,
"mail_domain"
:
"@senat.fr"
,
"off_city"
:
"Paris"
,
"abbreviation"
:
u
"SEN"
,
"chamber_url_field"
:
u
"url_institution"
,
"mail_domain"
:
u
"@senat.fr"
,
"off_city"
:
u
"Paris"
,
"off_street"
:
u
"Rue de Vaugirard"
,
"off_number"
:
"15"
,
"off_code"
:
"75291"
,
"off_number"
:
u
"15"
,
"off_code"
:
u
"75291"
,
"off_name"
:
u
"Palais du Luxembourg"
,
"mandates"
:
[
{
"kind"
:
"chamber"
,
"kind"
:
u
"chamber"
,
"chamber"
:
True
,
"abbr"
:
"SEN"
,
"abbr"
:
u
"SEN"
,
"name"
:
u
"Sénat"
,
"role"
:
u
"Sénateur"
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"group"
,
"kind"
:
u
"group"
,
"chamber"
:
True
,
"abbr"
:
"%(groupe_sigle)s"
,
"name_path"
:
"groupe/organisme"
,
"role_path"
:
"groupe/fonction"
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"abbr"
:
u
"%(groupe_sigle)s"
,
"name_path"
:
u
"groupe/organisme"
,
"role_path"
:
u
"groupe/fonction"
,
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"department"
,
"abbr"
:
"%(num_deptmt)s"
,
"name"
:
"%(nom_circo)s"
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"kind"
:
u
"department"
,
"abbr"
:
u
"%(num_deptmt)s"
,
"name"
:
u
"%(nom_circo)s"
,
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"district"
,
"abbr"
:
"%(num_deptmt)s-%(num_circo)s"
,
"kind"
:
u
"district"
,
"abbr"
:
u
"%(num_deptmt)s-%(num_circo)s"
,
"name_fn"
:
_get_rep_district_name
,
"start"
:
"%(mandat_debut)s"
,
"end"
:
"%(mandat_fin)s"
"start"
:
u
"%(mandat_debut)s"
,
"end"
:
u
"%(mandat_fin)s"
},
{
"kind"
:
"committee"
,
"kind"
:
u
"committee"
,
"chamber"
:
True
,
"from"
:
_get_sen_committees
,
"abbr"
:
"%(abbr)s"
,
"name"
:
"%(name)s"
,
"role"
:
"%(role)s"
,
"start"
:
"%(start)s"
,
"end"
:
"%(end)s"
"abbr"
:
u
"%(abbr)s"
,
"name"
:
u
"%(name)s"
,
"role"
:
u
"%(role)s"
,
"start"
:
u
"%(start)s"
,
"end"
:
u
"%(end)s"
},
{
"kind"
:
"delegation"
,
"kind"
:
u
"delegation"
,
"chamber"
:
True
,
"from"
:
_get_sen_delegations
,
"abbr"
:
"%(abbr)s"
,
"name"
:
"%(name)s"
,
"role"
:
"%(role)s"
,
"start"
:
"%(start)s"
,
"end"
:
"%(end)s"
"abbr"
:
u
"%(abbr)s"
,
"name"
:
u
"%(name)s"
,
"role"
:
u
"%(role)s"
,
"start"
:
u
"%(start)s"
,
"end"
:
u
"%(end)s"
}
]
}
...
...
okhin
🚴
@okhin
mentioned in issue
#198 (closed)
·
Jun 05, 2017
mentioned in issue
#198 (closed)
mentioned in issue #198
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment