Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
cb32d681
Commit
cb32d681
authored
Aug 28, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set default for wip column in case somebody changes the label
parent
2d8f9e99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
dream/plugins/CapacityStations/CapacityStationWIP.py
dream/plugins/CapacityStations/CapacityStationWIP.py
+1
-0
dream/plugins/CapacityStations/ChangeWIPSpreadsheet.py
dream/plugins/CapacityStations/ChangeWIPSpreadsheet.py
+2
-0
No files found.
dream/plugins/CapacityStations/CapacityStationWIP.py
View file @
cb32d681
...
...
@@ -17,6 +17,7 @@ class CapacityStationWIP(plugin.InputPreparationPlugin):
"""
projectData
=
data
[
'input'
].
get
(
'projects_spreadsheet'
,
None
)
# find the column where the WIP is given
wipColumn
=
6
#default
i
=
0
for
element
in
projectData
[
0
]:
if
element
==
'WIP'
:
...
...
dream/plugins/CapacityStations/ChangeWIPSpreadsheet.py
View file @
cb32d681
...
...
@@ -8,6 +8,7 @@ class ChangeWIPSpreadsheet(plugin.InputPreparationPlugin):
def
preprocess
(
self
,
data
):
projectData
=
data
[
'input'
].
get
(
'projects_spreadsheet'
,
None
)
# find the column where the WIP is given
wipColumn
=
6
#default
i
=
0
for
element
in
projectData
[
0
]:
if
element
==
'Completed'
:
...
...
@@ -15,6 +16,7 @@ class ChangeWIPSpreadsheet(plugin.InputPreparationPlugin):
projectData
[
0
][
i
]
=
'WIP'
break
i
+=
1
if
projectData
:
alreadyConsideredProjects
=
[]
for
row
in
range
(
1
,
len
(
projectData
)):
...
...
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