fluncle 0.175.0 → 0.176.0
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/bin/fluncle.mjs +14 -5
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -561,7 +561,7 @@ function parseVersion(version) {
|
|
|
561
561
|
var currentVersion;
|
|
562
562
|
var init_version = __esm(() => {
|
|
563
563
|
init_output();
|
|
564
|
-
currentVersion = "0.
|
|
564
|
+
currentVersion = "0.176.0".trim() ? "0.176.0".trim() : "0.1.0";
|
|
565
565
|
});
|
|
566
566
|
|
|
567
567
|
// src/update-notifier.ts
|
|
@@ -2259,7 +2259,7 @@ function parseVersion2(version) {
|
|
|
2259
2259
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2260
2260
|
var init_version2 = __esm(() => {
|
|
2261
2261
|
init_output();
|
|
2262
|
-
currentVersion2 = "0.
|
|
2262
|
+
currentVersion2 = "0.176.0".trim() ? "0.176.0".trim() : "0.1.0";
|
|
2263
2263
|
});
|
|
2264
2264
|
|
|
2265
2265
|
// ../../packages/registry/src/index.ts
|
|
@@ -10389,6 +10389,8 @@ async function runBackfillLabelReleases(options, backfillLabelReleasesCommand2)
|
|
|
10389
10389
|
let albumsMatched = 0;
|
|
10390
10390
|
let newRows = 0;
|
|
10391
10391
|
let skippedKnown = 0;
|
|
10392
|
+
let failedFetches = 0;
|
|
10393
|
+
let fetchCeilingHit = false;
|
|
10392
10394
|
const MAX_PASSES = 100;
|
|
10393
10395
|
for (let pass = 0;pass < MAX_PASSES; pass += 1) {
|
|
10394
10396
|
const result = await backfillLabelReleasesCommand2(perPass, options.dryRun);
|
|
@@ -10399,12 +10401,14 @@ async function runBackfillLabelReleases(options, backfillLabelReleasesCommand2)
|
|
|
10399
10401
|
albumsMatched += result.albumsMatched;
|
|
10400
10402
|
newRows += result.newRows;
|
|
10401
10403
|
skippedKnown += result.skippedKnown;
|
|
10404
|
+
failedFetches += result.failedFetches;
|
|
10405
|
+
fetchCeilingHit = fetchCeilingHit || result.fetchCeilingHit;
|
|
10402
10406
|
newTrackIds.push(...result.newTrackIds);
|
|
10403
10407
|
labelSlugs.push(...result.labelSlugs);
|
|
10404
10408
|
failedLabels.push(...result.failedLabels);
|
|
10405
10409
|
if (!options.json) {
|
|
10406
10410
|
const verb2 = result.dryRun ? "would probe" : "probed";
|
|
10407
|
-
console.log(` \u2026${verb2} ${result.labelSlugs.length} label(s); ${result.albumsMatched} matched album(s); ${result.newRows} new; ${result.skippedKnown} known; ${result.failedLabels.length}
|
|
10411
|
+
console.log(` \u2026${verb2} ${result.labelSlugs.length} label(s); ${result.albumsMatched} matched album(s); ${result.newRows} new; ${result.skippedKnown} known; ${result.failedFetches} fetch-fail; ${result.failedLabels.length} search-fail`);
|
|
10408
10412
|
}
|
|
10409
10413
|
if (!result.configured) {
|
|
10410
10414
|
break;
|
|
@@ -10426,7 +10430,9 @@ async function runBackfillLabelReleases(options, backfillLabelReleasesCommand2)
|
|
|
10426
10430
|
albumsSeen,
|
|
10427
10431
|
configured,
|
|
10428
10432
|
dryRun,
|
|
10433
|
+
failedFetches,
|
|
10429
10434
|
failedLabels,
|
|
10435
|
+
fetchCeilingHit,
|
|
10430
10436
|
labelSlugs,
|
|
10431
10437
|
labelsProbed,
|
|
10432
10438
|
newRows,
|
|
@@ -10442,9 +10448,12 @@ async function runBackfillLabelReleases(options, backfillLabelReleasesCommand2)
|
|
|
10442
10448
|
}
|
|
10443
10449
|
const verb = dryRun ? "Would probe" : "Probed";
|
|
10444
10450
|
const probedCount = dryRun ? labelSlugs.length : labelsProbed;
|
|
10445
|
-
console.log(`${verb} ${probedCount} enabled seed label(s); ${albumsMatched} matched album(s); ${newRows} new catalogue row(s); ${skippedKnown} already known; ${failedLabels.length}
|
|
10451
|
+
console.log(`${verb} ${probedCount} enabled seed label(s); ${albumsMatched} matched album(s); ${newRows} new catalogue row(s); ${skippedKnown} already known; ${failedFetches} fetch-fail; ${failedLabels.length} search-fail.`);
|
|
10452
|
+
if (fetchCeilingHit) {
|
|
10453
|
+
console.log(" (a pass ended early on the single-fetch ceiling \u2014 resumes next tick)");
|
|
10454
|
+
}
|
|
10446
10455
|
for (const slug of failedLabels) {
|
|
10447
|
-
console.log(`
|
|
10456
|
+
console.log(` search error: ${slug}`);
|
|
10448
10457
|
}
|
|
10449
10458
|
}
|
|
10450
10459
|
async function runBackfillArtists(options, backfillArtistsCommand2) {
|
package/package.json
CHANGED