Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Generic VCS and Package Loader
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
vlorentz
Generic VCS and Package Loader
Commits
69028b09
Verified
Commit
69028b09
authored
3 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
opam: Explicit TODO comment
parent
d6cbf411
No related branches found
Branches containing commit
Tags
v0.0.22
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/loader/package/opam/loader.py
+2
-3
2 additions, 3 deletions
swh/loader/package/opam/loader.py
with
2 additions
and
3 deletions
swh/loader/package/opam/loader.py
+
2
−
3
View file @
69028b09
...
...
@@ -114,9 +114,8 @@ class OpamLoader(PackageLoader[OpamPackageInfo]):
The list of versions for the package
"""
# HACK using opam internals (opam < 2.1) to list current package versions. We
# need `opam show` to support the --repo flag but it does not currently so we
# work around it.
# TODO: use `opam show` instead of this workaround when it support the `--repo`
# flag
package_dir
=
self
.
get_package_dir
()
if
not
os
.
path
.
exists
(
package_dir
):
raise
ValueError
(
...
...
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