Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-model
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
Renaud Boyer
swh-model
Commits
d161b4af
Commit
d161b4af
authored
7 years ago
by
Nicolas Dandrimont
Browse files
Options
Downloads
Plain Diff
New upstream version 0.0.16
parents
7409d1d0
6f89adfa
No related branches found
Branches containing commit
Tags
debian/upstream/0.0.16
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
PKG-INFO
+1
-1
1 addition, 1 deletion
PKG-INFO
swh.model.egg-info/PKG-INFO
+1
-1
1 addition, 1 deletion
swh.model.egg-info/PKG-INFO
swh/model/git.py
+7
-7
7 additions, 7 deletions
swh/model/git.py
version.txt
+1
-1
1 addition, 1 deletion
version.txt
with
10 additions
and
10 deletions
PKG-INFO
+
1
−
1
View file @
d161b4af
Metadata-Version: 1.0
Name: swh.model
Version: 0.0.1
5
Version: 0.0.1
6
Summary: Software Heritage data model
Home-page: https://forge.softwareheritage.org/diffusion/DMOD/
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
swh.model.egg-info/PKG-INFO
+
1
−
1
View file @
d161b4af
Metadata-Version: 1.0
Name: swh.model
Version: 0.0.1
5
Version: 0.0.1
6
Summary: Software Heritage data model
Home-page: https://forge.softwareheritage.org/diffusion/DMOD/
Author: Software Heritage developers
...
...
This diff is collapsed.
Click to expand it.
swh/model/git.py
+
7
−
7
View file @
d161b4af
...
...
@@ -7,7 +7,7 @@
import
os
import
stat
from
enum
import
Enum
from
enum
import
Enum
,
IntEnum
from
swh.model
import
hashutil
,
identifiers
...
...
@@ -25,11 +25,11 @@ class GitType(Enum):
REFS
=
b
'
ref
'
class
GitPerm
(
Enum
):
BLOB
=
b
'
100644
'
TREE
=
b
'
40000
'
EXEC
=
b
'
100755
'
LINK
=
b
'
120000
'
class
GitPerm
(
Int
Enum
):
BLOB
=
0o
100644
TREE
=
0o0
40000
EXEC
=
0o
100755
LINK
=
0o
120000
def
_compute_directory_git_sha1
(
hashes
):
...
...
@@ -53,7 +53,7 @@ def _compute_directory_git_sha1(hashes):
[
{
'
name
'
:
entry
[
'
name
'
],
'
perms
'
:
int
(
entry
[
'
perms
'
]
.
value
,
8
)
,
'
perms
'
:
entry
[
'
perms
'
],
'
target
'
:
entry
[
'
sha1_git
'
],
'
type
'
:
'
dir
'
if
entry
[
'
perms
'
]
==
GitPerm
.
TREE
else
'
file
'
,
}
...
...
This diff is collapsed.
Click to expand it.
version.txt
+
1
−
1
View file @
d161b4af
v0.0.15-0-g4d6d748
\ No newline at end of file
v0.0.16-0-g6f89adf
\ No newline at end of file
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