Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
oss
gitlabtime
Commits
9170e613
Commit
9170e613
authored
Aug 04, 2020
by
Thomas Lotze
Browse files
re
#10
: filtering for project now applies to path and full path as well
parent
99447f22
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gitlabtime/fetch.py
View file @
9170e613
...
...
@@ -18,7 +18,11 @@ def fetch(url, token, filter):
# clever and optimise here, even if this results in a full-database scan.
# Let's see whether we'll be forced to optimise by production data.
for
project
in
projects
:
if
filter
[
'project'
]
not
in
(
project
.
name
,
None
):
if
filter
[
'project'
]
not
in
(
project
.
name
,
project
.
path
,
project
.
path_with_namespace
,
None
):
continue
issues
=
project
.
issues
.
list
(
all
=
True
)
...
...
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