Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-lister
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Nicolas Dandrimont
swh-lister
Commits
94b6dbea
Verified
Commit
94b6dbea
authored
2 years ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
nixguix: Document lister
Related to T3781
parent
6d2e7aa1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swh/lister/nixguix/__init__.py
+26
-0
26 additions, 0 deletions
swh/lister/nixguix/__init__.py
with
26 additions
and
0 deletions
swh/lister/nixguix/__init__.py
+
26
−
0
View file @
94b6dbea
...
...
@@ -2,6 +2,32 @@
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
"""
NixGuix lister
==============
Nix and Guix package managers are among other things (lazy) functional package managers.
We cannot easily parse their source declarations as it would require some involved
computations.
After some discussion and work with both communities, they now expose public manifests
that the lister consumes to extract origins. Be it the `Guix manifest`_ or the `Nixpkgs
manifests`_.
4 kinds of origins are listed:
- main `Guix repository`_ or `Nixpkgs repository`_ which are
'
git
'
repositories
- VCS origins (
'
git
'
,
'
svn
'
,
'
hg
'
)
- unique file (
'
content
'
)
- unique tarball (
'
directory
'
)
.. _Guix repository: https://git.savannah.gnu.org/cgit/guix.git/
.. _Nixpkgs repository: https://github.com/NixOS/nixpkgs
.. _Guix manifest: https://guix.gnu.org/sources.json
.. _Nixpkgs manifests: https://nix-community.github.io/nixpkgs-swh/sources-unstable-full.json
"""
def
register
():
from
.lister
import
NixGuixLister
...
...
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