vcsgraph 0.1.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/Cargo.lock +35 -74
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/Cargo.toml +2 -2
- {vcsgraph-0.1.0/vcsgraph.egg-info → vcsgraph-0.3.2}/PKG-INFO +4 -4
- vcsgraph-0.3.2/crates/graph/Cargo.toml +25 -0
- vcsgraph-0.3.2/crates/graph/src/bfs.rs +754 -0
- vcsgraph-0.3.2/crates/graph/src/graph.rs +2228 -0
- vcsgraph-0.3.2/crates/graph/src/known_graph.rs +1142 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/crates/graph/src/lib.rs +80 -54
- vcsgraph-0.3.2/crates/graph/src/parents_provider.rs +366 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/crates/graph/src/test.rs +1 -1
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/crates/graph/src/tsort.rs +176 -174
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/crates/graph-py/Cargo.toml +2 -1
- vcsgraph-0.3.2/crates/graph-py/src/lib.rs +2280 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/pyproject.toml +5 -10
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/__init__.py +1 -1
- vcsgraph-0.3.2/vcsgraph/graph.py +338 -0
- vcsgraph-0.3.2/vcsgraph/known_graph.py +24 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tests/test_graph.py +38 -20
- {vcsgraph-0.1.0 → vcsgraph-0.3.2/vcsgraph.egg-info}/PKG-INFO +4 -4
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph.egg-info/SOURCES.txt +3 -12
- vcsgraph-0.3.2/vcsgraph.egg-info/requires.txt +4 -0
- vcsgraph-0.1.0/.coveragerc +0 -7
- vcsgraph-0.1.0/.dockerignore +0 -2
- vcsgraph-0.1.0/.github/CODEOWNERS +0 -1
- vcsgraph-0.1.0/.github/dependabot.yaml +0 -18
- vcsgraph-0.1.0/.github/workflows/pythonpackage.yml +0 -48
- vcsgraph-0.1.0/.github/workflows/wheels.yaml +0 -137
- vcsgraph-0.1.0/.gitignore +0 -16
- vcsgraph-0.1.0/.mailmap +0 -5
- vcsgraph-0.1.0/.rsyncexclude +0 -23
- vcsgraph-0.1.0/.testr.conf +0 -4
- vcsgraph-0.1.0/CODE_OF_CONDUCT.md +0 -76
- vcsgraph-0.1.0/crates/graph/Cargo.toml +0 -20
- vcsgraph-0.1.0/crates/graph/src/parents_provider.rs +0 -75
- vcsgraph-0.1.0/crates/graph-py/src/lib.rs +0 -420
- vcsgraph-0.1.0/vcsgraph/.gitignore +0 -1
- vcsgraph-0.1.0/vcsgraph/graph.py +0 -1661
- vcsgraph-0.1.0/vcsgraph/known_graph.py +0 -370
- vcsgraph-0.1.0/vcsgraph.egg-info/requires.txt +0 -4
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/COPYING.txt +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/MANIFEST.in +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/README.md +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/setup.cfg +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/setup.py +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/errors.py +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/py.typed +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tests/__init__.py +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tests/test_known_graph.py +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tests/test_tsort.py +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph/tsort.py +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph.egg-info/dependency_links.txt +0 -0
- {vcsgraph-0.1.0 → vcsgraph-0.3.2}/vcsgraph.egg-info/top_level.txt +0 -0
|
@@ -2,18 +2,13 @@
|
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
3
|
version = 4
|
|
4
4
|
|
|
5
|
-
[[package]]
|
|
6
|
-
name = "autocfg"
|
|
7
|
-
version = "1.5.0"
|
|
8
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
10
|
-
|
|
11
5
|
[[package]]
|
|
12
6
|
name = "graph-py"
|
|
13
|
-
version = "
|
|
7
|
+
version = "0.3.2"
|
|
14
8
|
dependencies = [
|
|
15
9
|
"pyo3",
|
|
16
|
-
"
|
|
10
|
+
"rustc-hash",
|
|
11
|
+
"vcs-graph",
|
|
17
12
|
]
|
|
18
13
|
|
|
19
14
|
[[package]]
|
|
@@ -22,21 +17,6 @@ version = "0.5.0"
|
|
|
22
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
23
18
|
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
24
19
|
|
|
25
|
-
[[package]]
|
|
26
|
-
name = "indoc"
|
|
27
|
-
version = "2.0.6"
|
|
28
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
29
|
-
checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
|
|
30
|
-
|
|
31
|
-
[[package]]
|
|
32
|
-
name = "inventory"
|
|
33
|
-
version = "0.3.21"
|
|
34
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
35
|
-
checksum = "bc61209c082fbeb19919bee74b176221b27223e27b65d781eb91af24eb1fb46e"
|
|
36
|
-
dependencies = [
|
|
37
|
-
"rustversion",
|
|
38
|
-
]
|
|
39
|
-
|
|
40
20
|
[[package]]
|
|
41
21
|
name = "lazy_static"
|
|
42
22
|
version = "1.5.0"
|
|
@@ -45,9 +25,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
45
25
|
|
|
46
26
|
[[package]]
|
|
47
27
|
name = "libc"
|
|
48
|
-
version = "0.2.
|
|
28
|
+
version = "0.2.186"
|
|
49
29
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
50
|
-
checksum = "
|
|
30
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
51
31
|
|
|
52
32
|
[[package]]
|
|
53
33
|
name = "maplit"
|
|
@@ -55,69 +35,55 @@ version = "1.0.2"
|
|
|
55
35
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
56
36
|
checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
|
57
37
|
|
|
58
|
-
[[package]]
|
|
59
|
-
name = "memoffset"
|
|
60
|
-
version = "0.9.1"
|
|
61
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
62
|
-
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
63
|
-
dependencies = [
|
|
64
|
-
"autocfg",
|
|
65
|
-
]
|
|
66
|
-
|
|
67
38
|
[[package]]
|
|
68
39
|
name = "once_cell"
|
|
69
|
-
version = "1.21.
|
|
40
|
+
version = "1.21.4"
|
|
70
41
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
-
checksum = "
|
|
42
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
72
43
|
|
|
73
44
|
[[package]]
|
|
74
45
|
name = "portable-atomic"
|
|
75
|
-
version = "1.
|
|
46
|
+
version = "1.13.1"
|
|
76
47
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
77
|
-
checksum = "
|
|
48
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
78
49
|
|
|
79
50
|
[[package]]
|
|
80
51
|
name = "proc-macro2"
|
|
81
|
-
version = "1.0.
|
|
52
|
+
version = "1.0.106"
|
|
82
53
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
83
|
-
checksum = "
|
|
54
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
84
55
|
dependencies = [
|
|
85
56
|
"unicode-ident",
|
|
86
57
|
]
|
|
87
58
|
|
|
88
59
|
[[package]]
|
|
89
60
|
name = "pyo3"
|
|
90
|
-
version = "0.
|
|
61
|
+
version = "0.28.3"
|
|
91
62
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
92
|
-
checksum = "
|
|
63
|
+
checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
|
|
93
64
|
dependencies = [
|
|
94
|
-
"indoc",
|
|
95
|
-
"inventory",
|
|
96
65
|
"libc",
|
|
97
|
-
"memoffset",
|
|
98
66
|
"once_cell",
|
|
99
67
|
"portable-atomic",
|
|
100
68
|
"pyo3-build-config",
|
|
101
69
|
"pyo3-ffi",
|
|
102
70
|
"pyo3-macros",
|
|
103
|
-
"unindent",
|
|
104
71
|
]
|
|
105
72
|
|
|
106
73
|
[[package]]
|
|
107
74
|
name = "pyo3-build-config"
|
|
108
|
-
version = "0.
|
|
75
|
+
version = "0.28.3"
|
|
109
76
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
110
|
-
checksum = "
|
|
77
|
+
checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
|
|
111
78
|
dependencies = [
|
|
112
|
-
"once_cell",
|
|
113
79
|
"target-lexicon",
|
|
114
80
|
]
|
|
115
81
|
|
|
116
82
|
[[package]]
|
|
117
83
|
name = "pyo3-ffi"
|
|
118
|
-
version = "0.
|
|
84
|
+
version = "0.28.3"
|
|
119
85
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
-
checksum = "
|
|
86
|
+
checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
|
|
121
87
|
dependencies = [
|
|
122
88
|
"libc",
|
|
123
89
|
"pyo3-build-config",
|
|
@@ -125,9 +91,9 @@ dependencies = [
|
|
|
125
91
|
|
|
126
92
|
[[package]]
|
|
127
93
|
name = "pyo3-macros"
|
|
128
|
-
version = "0.
|
|
94
|
+
version = "0.28.3"
|
|
129
95
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
-
checksum = "
|
|
96
|
+
checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
|
|
131
97
|
dependencies = [
|
|
132
98
|
"proc-macro2",
|
|
133
99
|
"pyo3-macros-backend",
|
|
@@ -137,9 +103,9 @@ dependencies = [
|
|
|
137
103
|
|
|
138
104
|
[[package]]
|
|
139
105
|
name = "pyo3-macros-backend"
|
|
140
|
-
version = "0.
|
|
106
|
+
version = "0.28.3"
|
|
141
107
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
142
|
-
checksum = "
|
|
108
|
+
checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
|
|
143
109
|
dependencies = [
|
|
144
110
|
"heck",
|
|
145
111
|
"proc-macro2",
|
|
@@ -150,24 +116,24 @@ dependencies = [
|
|
|
150
116
|
|
|
151
117
|
[[package]]
|
|
152
118
|
name = "quote"
|
|
153
|
-
version = "1.0.
|
|
119
|
+
version = "1.0.45"
|
|
154
120
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
155
|
-
checksum = "
|
|
121
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
156
122
|
dependencies = [
|
|
157
123
|
"proc-macro2",
|
|
158
124
|
]
|
|
159
125
|
|
|
160
126
|
[[package]]
|
|
161
|
-
name = "
|
|
162
|
-
version = "1.
|
|
127
|
+
name = "rustc-hash"
|
|
128
|
+
version = "2.1.2"
|
|
163
129
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
164
|
-
checksum = "
|
|
130
|
+
checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe"
|
|
165
131
|
|
|
166
132
|
[[package]]
|
|
167
133
|
name = "syn"
|
|
168
|
-
version = "2.0.
|
|
134
|
+
version = "2.0.117"
|
|
169
135
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
-
checksum = "
|
|
136
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
171
137
|
dependencies = [
|
|
172
138
|
"proc-macro2",
|
|
173
139
|
"quote",
|
|
@@ -176,27 +142,22 @@ dependencies = [
|
|
|
176
142
|
|
|
177
143
|
[[package]]
|
|
178
144
|
name = "target-lexicon"
|
|
179
|
-
version = "0.13.
|
|
145
|
+
version = "0.13.5"
|
|
180
146
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
181
|
-
checksum = "
|
|
147
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
182
148
|
|
|
183
149
|
[[package]]
|
|
184
150
|
name = "unicode-ident"
|
|
185
|
-
version = "1.0.
|
|
186
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
187
|
-
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
|
188
|
-
|
|
189
|
-
[[package]]
|
|
190
|
-
name = "unindent"
|
|
191
|
-
version = "0.2.4"
|
|
151
|
+
version = "1.0.24"
|
|
192
152
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
193
|
-
checksum = "
|
|
153
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
194
154
|
|
|
195
155
|
[[package]]
|
|
196
|
-
name = "
|
|
197
|
-
version = "3.
|
|
156
|
+
name = "vcs-graph"
|
|
157
|
+
version = "3.6.0"
|
|
198
158
|
dependencies = [
|
|
199
159
|
"lazy_static",
|
|
200
160
|
"maplit",
|
|
201
161
|
"pyo3",
|
|
162
|
+
"rustc-hash",
|
|
202
163
|
]
|
|
@@ -3,9 +3,9 @@ members = ["crates/*"]
|
|
|
3
3
|
resolver = "2"
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
|
-
version = "0.
|
|
6
|
+
version = "0.3.2"
|
|
7
7
|
edition = "2021"
|
|
8
8
|
rust-version = "1.60"
|
|
9
9
|
|
|
10
10
|
[workspace.dependencies]
|
|
11
|
-
pyo3 = { version = "=0.
|
|
11
|
+
pyo3 = { version = "=0.28" }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vcsgraph
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Graph algorithms for version control systems
|
|
5
|
-
Requires-Python: >=3.
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: COPYING.txt
|
|
8
8
|
Provides-Extra: dev
|
|
9
|
-
Requires-Dist: mypy==1.
|
|
10
|
-
Requires-Dist: ruff==0.
|
|
9
|
+
Requires-Dist: mypy==2.1.0; extra == "dev"
|
|
10
|
+
Requires-Dist: ruff==0.15.18; extra == "dev"
|
|
11
11
|
Dynamic: license-file
|
|
12
12
|
|
|
13
13
|
# vcsgraph
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[package]
|
|
2
|
+
name = "vcs-graph"
|
|
3
|
+
version = "3.6.0"
|
|
4
|
+
authors = [ "Martin Packman <gzlist@googlemail.com>", "Jelmer Vernooij <jelmer@jelmer.uk>"]
|
|
5
|
+
edition = "2021"
|
|
6
|
+
description = "Graph algorithms for version control systems: topological sort, merge-aware sort, parent maps, and ancestry queries."
|
|
7
|
+
license = "GPL-2.0-or-later"
|
|
8
|
+
homepage = "https://www.breezy-vcs.org/"
|
|
9
|
+
repository = "https://github.com/breezy-team/vcsgraph"
|
|
10
|
+
readme = "README.md"
|
|
11
|
+
keywords = ["vcs", "graph", "toposort", "dag", "breezy"]
|
|
12
|
+
categories = ["algorithms", "data-structures"]
|
|
13
|
+
|
|
14
|
+
[lib]
|
|
15
|
+
|
|
16
|
+
[dependencies]
|
|
17
|
+
lazy_static = "1.4.0"
|
|
18
|
+
pyo3 = { workspace = true, optional = true }
|
|
19
|
+
rustc-hash = "2"
|
|
20
|
+
|
|
21
|
+
[dev-dependencies]
|
|
22
|
+
maplit = "1.0.2"
|
|
23
|
+
|
|
24
|
+
[features]
|
|
25
|
+
pyo3 = ["dep:pyo3"]
|