Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bts-link
Manage
Activity
Members
Labels
Plan
Issues
26
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
bts-link
bts-link
Commits
485000a1
Commit
485000a1
authored
6 years ago
by
Sandro Tosi
Browse files
Options
Downloads
Patches
Plain Diff
roundup: show the full URL when raising exceptions
parent
d62c6431
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#31043
passed with stage
in 1 minute and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
remote/roundup.py
+3
-3
3 additions, 3 deletions
remote/roundup.py
with
3 additions
and
3 deletions
remote/roundup.py
+
3
−
3
View file @
485000a1
...
...
@@ -53,12 +53,12 @@ class RoundupData:
def
__init__
(
self
,
uri
,
id
):
# to uri is the real 'uri' with '/issueNNNNN' added, we need "real uri"
uri_re
=
re
.
compile
(
r
'
(.*)/issue(.*)
'
)
uri
=
uri_re
.
match
(
uri
).
group
(
1
)
real_
uri
=
uri_re
.
match
(
uri
).
group
(
1
)
self
.
id
=
id
or
failwith
(
uri
,
"
Roundup: no id
"
)
self
.
status
=
self
.
getStatus
(
uri
,
id
)
or
failwith
(
uri
,
"
Roundup
"
,
exn
=
NoStatusExn
)
self
.
resolution
=
self
.
getResolution
(
uri
,
id
)
self
.
status
=
self
.
getStatus
(
real_
uri
,
id
)
or
failwith
(
uri
,
"
Roundup
"
,
exn
=
NoStatusExn
)
self
.
resolution
=
self
.
getResolution
(
real_
uri
,
id
)
# NOT SUPPORTED YET
#if self.status == 'Duplicate':
...
...
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