Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
clpm
clpm
Commits
df041e1d
Commit
df041e1d
authored
Feb 24, 2020
by
Eric Timmons
Browse files
Add a sync-and-retry restart around CLPI source-project
parent
c150533a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/clpm/sources/clpi.lisp
View file @
df041e1d
...
...
@@ -151,15 +151,15 @@
(
defmethod
ff-source-system-release-class
((
source
clpi-source
))
'clpi-system-release
)
;;
(defmethod source-project :around ((source
ql-flat
-source) project-name &optional (error t))
;;
(declare (ignore error))
;;
(restart-case
;;
(call-next-method)
;;
(sync-and-retry (c)
;;
:report "Sync and try again"
;;
(declare (ignore c))
;;
(sync-source source)
;;
(call-next-method))))
(
defmethod
source-project
:around
((
source
clpi
-source
)
project-name
&optional
(
error
t
))
(
declare
(
ignore
error
))
(
restart-case
(
call-next-method
)
(
sync-and-retry
(
c
)
:report
"Sync and try again"
(
declare
(
ignore
c
))
(
sync-source
source
)
(
call-next-method
))))
...
...
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