Codebase list rust-libslirp / 2e78543
Update TODO and dev scripts Ximin Luo 5 years ago
3 changed file(s) with 40 addition(s) and 59 deletion(s). Raw diff Collapse all Expand all
5252 Immediate goals
5353 ===============
5454
55 The lists below are calculated using some combinations of running::
56
57 tests/sh/cargo-tree-deb-rec <binary-crate>
58
59 from the ``debcargo.git`` repository.
60
6155
6256 Remove old libraries
6357 --------------------
9185 encoding-rs (update)
9286 serde-json (update)
9387 syn (update)
88 tokio-executor (update), tokio-timer (update)
9489 libc (update)
9590
9691 Delayed/problematic::
9792
98 flate2 (update) -- waiting on crc32fast in NEW
9993 md5 (update) -- affects uuid
100 tokio-executor (update), tokio-timer (update)
101 latest versions needs crossbeam-utils 0.6, see below
102 crossbeam-utils (update 0.5 → 0.6)
103 too much other stuff depends on crossbeam-utils 0.5, so that is now in NEW
104 this can be updated to 0.6 when crossbeam-utils-0.5 passes NEW
10594 grep
10695 pcre2 feature depends on grep-pcre2 -> pcre2 -> pcre2-sys
10796 gcc-0.3.54 -- don't need this, completely obsoleted by cc.
126115 stdweb
127116 stdweb-internal-macros (TODO)
128117 clap (ripgrep, structopt)
129 yaml-rust (NEW)
130118 text-wrap
131119 hyphenation
132 hyphenation_commons (NEW)
133
134 Unblocking crate updates
135 ------------------------
136
137 Updates that require updates of other packages::
138
139 env_logger (update to 0.5.13)
140120
141121
142 All-features transitive dependencies of ripgrep
143 -----------------------------------------------
122 New packages
123 ------------
144124
145 These are NOT needed to build ripgrep (we only test that `cargo build` works
146 with default features) but *are* needed for ripgrep to enter testing. They are
147 all of the transitive build-dependencies of *all the features* of ripgrep.
125 Use ``dev/list-remaining-deps.sh`` to help you figure out what's missing.
148126
149 Top-level page: https://qa.debian.org/excuses.php?package=rust-ripgrep
150
151 - hyphenation, needed by
152 https://qa.debian.org/excuses.php?package=rust-textwrap
153 pocket-resources
154 hyphenation-commons
155 - still using a ton of old libraries like serde 0.8 with a bigger tree underneath
156 - https://github.com/tapeinosyne/hyphenation/issues/12
157 unicode-segmentation
158 - yaml-rust, needed by
159 https://qa.debian.org/excuses.php?package=rust-clap
160 also linked-hash-map as a dependency of this
161
162 dependencies of mdbook/exa
163 --------------------------
127 mdbook/exa
128 ``````````
164129
165130 tldr: exa needs zoneinfo_compiled (in NEW)
166131 We will need to update some versions of the dep. Besides that, we should be good.
167132
168 To regenerate the below list; run something like::
133 rustfmt-nightly
134 ```````````````
169135
170 for c in <CRATES>; do \
171 debcargo.git/tests/sh/cargo-tree-deb-rec $c; done \
172 | sed -e 's/ v/ /g' \
173 | dev/filter-semver.sh \
174 | awk '!x[$0]++' \
175 | dev/filter-in-debian.sh \
176 | sed -nre 's/(.*) 0$/\1/gp'
177
178 dependencies of rustfmt-nightly
179 -------------------------------
180
181 Needs:
182136 * derive-new (in NEW)
183137 * cargo-metadata (in NEW)
184138 * rustc-ap-syntax
193147 * rustc-ap-serialize (to be uploaded, dep issue?!)
194148 * rustc-ap-syntax-pos
195149
150 bingrep
151 ```````
196152
197 dependencies of bingrep
198 -----------------------
199
200 Needs:
201153 * hexplay
202154 * metagoblin
203155 * prettytable-rs
44
55 while read crate ver; do
66 pkg="${crate//_/-}"
7 numpkg="$(apt-cache showsrc rust-"${pkg}${ver:+-$ver}" 2>/dev/null | grep ^Package: | wc -l)"
7 numpkg="$(apt-cache showpkg librust-"${pkg}${ver:+-$ver}"-dev 2>/dev/null | grep ^Package: | wc -l)"
88 echo "$crate $ver $numpkg"
99 done
0 #!/bin/sh
1
2 echo >&2 "Note, this script is not very accurate and may print out redundant stuff,"
3 echo >&2 "e.g. dependencies of crates that we already patched away in Debian."
4
5 if [ -n "$DEBCARGO" ]; then
6 true
7 elif which debcargo >/dev/null; then
8 DEBCARGO=$(which debcargo)
9 elif [ -f "$HOME/.cargo/bin/debcargo" ]; then
10 DEBCARGO="$HOME/.cargo/bin/debcargo"
11 else
12 abort 1 "debcargo not found, run \`cargo install debcargo\` or set DEBCARGO to point to it"
13 fi
14
15 if [ -d ../debcargo ]; then
16 DEBCARGO_SRC=../debcargo
17 else
18 abort 1 "debcargo.git not found, set DEBCARGO_SRC and try again"
19 fi
20
21 export DEBCARGO
22 for c in "$@"; do \
23 "$DEBCARGO_SRC"/tests/sh/cargo-tree-deb-rec "$c"; done \
24 | sed -e 's/ v/ /g' \
25 | dev/filter-semver.sh \
26 | awk '!x[$0]++' \
27 | dev/filter-in-debian.sh \
28 | sed -nre 's/(.*) 0$/\1/gp'