@hominis/fireforge 0.27.3 → 0.28.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.28.0
|
|
4
|
+
|
|
5
|
+
- Added the product-resolved Firefox source archive URL to `source set` output so pinned checksums can be verified against the exact archive target before download.
|
|
6
|
+
- Fixed re-export serialization so blank context lines keep their unified-diff context marker, preventing FireForge-generated patches from producing false patch-owned drift warnings during `verify`.
|
|
7
|
+
- Added regression coverage for targeted and full stamped re-export round-trips with blank context lines.
|
|
8
|
+
|
|
3
9
|
## 0.27.3
|
|
4
10
|
|
|
5
11
|
- Fixed `firefox-devedition` source downloads so archive resolution uses `/pub/devedition/releases`.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// SPDX-License-Identifier: EUPL-1.2
|
|
2
2
|
import { Option } from 'commander';
|
|
3
3
|
import { configExists, loadRawConfigDocument, validateConfig, withConfigFileLock, writeConfigDocument, } from '../core/config.js';
|
|
4
|
+
import { resolveArchive } from '../core/firefox-archive.js';
|
|
4
5
|
import { GeneralError, InvalidArgumentError } from '../errors/base.js';
|
|
5
6
|
import { info, intro, outro, success } from '../utils/logger.js';
|
|
6
7
|
import { isValidFirefoxProduct } from '../utils/validation.js';
|
|
@@ -57,8 +58,10 @@ export async function sourceSetCommand(projectRoot, options) {
|
|
|
57
58
|
await writeConfigDocument(projectRoot, updated);
|
|
58
59
|
return validated.firefox;
|
|
59
60
|
});
|
|
61
|
+
const archive = resolveArchive(written.version, written.product);
|
|
60
62
|
success(`Set firefox.version = ${written.version}`);
|
|
61
63
|
success(`Set firefox.product = ${written.product}`);
|
|
64
|
+
success(`Resolved source URL: ${archive.url}`);
|
|
62
65
|
if (written.sha256 !== undefined) {
|
|
63
66
|
success(`Set firefox.sha256 = ${written.sha256}`);
|
|
64
67
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Normalizes generated patch files
|
|
2
|
+
* Normalizes generated patch files before they are written to disk.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* physical line
|
|
7
|
-
*
|
|
4
|
+
* Kept as a narrow chokepoint for future artifact-level fixes. It must not
|
|
5
|
+
* rewrite hunk body lines: unified diffs encode a blank context line as a
|
|
6
|
+
* physical line containing the leading context marker (`" "`), and FireForge's
|
|
7
|
+
* verifier relies on that marker when replaying patch output.
|
|
8
8
|
*/
|
|
9
9
|
export declare function normalizePatchArtifact(content: string): string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// SPDX-License-Identifier: EUPL-1.2
|
|
2
2
|
/**
|
|
3
|
-
* Normalizes generated patch files
|
|
3
|
+
* Normalizes generated patch files before they are written to disk.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* physical line
|
|
8
|
-
*
|
|
5
|
+
* Kept as a narrow chokepoint for future artifact-level fixes. It must not
|
|
6
|
+
* rewrite hunk body lines: unified diffs encode a blank context line as a
|
|
7
|
+
* physical line containing the leading context marker (`" "`), and FireForge's
|
|
8
|
+
* verifier relies on that marker when replaying patch output.
|
|
9
9
|
*/
|
|
10
10
|
export function normalizePatchArtifact(content) {
|
|
11
|
-
return content
|
|
11
|
+
return content;
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=patch-artifact-normalize.js.map
|