@blamejs/exceptd-skills 0.14.1 → 0.14.2
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.
- package/CHANGELOG.md +6 -0
- package/bin/exceptd.js +25 -1
- package/data/_indexes/_meta.json +3 -3
- package/data/_indexes/activity-feed.json +8 -8
- package/data/_indexes/catalog-summaries.json +2 -2
- package/data/_indexes/frequency.json +1413 -1
- package/data/rfc-references.json +55757 -146
- package/lib/collectors/citation-hygiene.js +81 -1
- package/lib/flag-suggest.js +1 -1
- package/manifest.json +44 -44
- package/package.json +2 -2
- package/sbom.cdx.json +23 -23
- package/scripts/refresh-upstream-catalogs.js +12 -2
|
@@ -249,10 +249,18 @@ async function refreshRfc({ dry = false } = {}) {
|
|
|
249
249
|
if (touched) { cur.last_verified = TODAY; backfilledCount++; }
|
|
250
250
|
}
|
|
251
251
|
// Second pass: add new "current" entries that weren't in the catalog.
|
|
252
|
-
|
|
252
|
+
// Add new rows from the FULL index, not just the current series. Obsoleted
|
|
253
|
+
// and historic RFCs were previously excluded, so "is RFC N still current?"
|
|
254
|
+
// had no offline answer and forced a datatracker lookup. They are added here
|
|
255
|
+
// marked `_obsoleted` (with obsoleted_by populated) so the resolver can say
|
|
256
|
+
// "Historic, superseded by RFC X" offline. UNKNOWN-status index rows
|
|
257
|
+
// (placeholders / not-issued numbers) are still skipped.
|
|
258
|
+
for (const e of backfillable) {
|
|
253
259
|
const id = `RFC-${e.num}`;
|
|
254
260
|
// Existing rows handled in the first-pass backfill above.
|
|
255
261
|
if (existing.has(id)) continue;
|
|
262
|
+
if (e.status === "UNKNOWN") continue;
|
|
263
|
+
const obsoleted = !!e.obsoleted || e.status === "HISTORIC";
|
|
256
264
|
cat[id] = {
|
|
257
265
|
number: e.num,
|
|
258
266
|
title: e.title,
|
|
@@ -269,6 +277,7 @@ async function refreshRfc({ dry = false } = {}) {
|
|
|
269
277
|
obsoletes: e.obsoletes,
|
|
270
278
|
updates: e.updates,
|
|
271
279
|
updated_by: e.updatedBy,
|
|
280
|
+
obsoleted_by: e.obsoletedBy,
|
|
272
281
|
is_also: e.isAlso,
|
|
273
282
|
errata_count: e.hasErrata ? null : 0,
|
|
274
283
|
tracker: `https://www.rfc-editor.org/info/rfc${e.num}`,
|
|
@@ -278,7 +287,8 @@ async function refreshRfc({ dry = false } = {}) {
|
|
|
278
287
|
skills_referencing: [],
|
|
279
288
|
last_verified: TODAY,
|
|
280
289
|
_auto_imported: true,
|
|
281
|
-
_intake_method: "ietf-rfc-index"
|
|
290
|
+
_intake_method: "ietf-rfc-index",
|
|
291
|
+
...(obsoleted ? { _obsoleted: true } : {}),
|
|
282
292
|
};
|
|
283
293
|
existing.add(id);
|
|
284
294
|
added++;
|