@minnovate/shadow-publisher 0.8.3 → 0.9.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git-publisher",
3
3
  "displayName": "Git Publisher",
4
- "version": "0.8.3",
4
+ "version": "0.9.0",
5
5
  "description": "Publish an app folder's Git history to the serverless Git publishing backend and keep it updated (\"publish my app\", \"update my app\", \"fetch the engineered version\").",
6
6
  "author": { "name": "git-publisher project" },
7
7
  "keywords": ["git", "publish", "deploy", "serverless"]
@@ -2564,13 +2564,14 @@ var LimitsSchema = object({
2564
2564
  maxTemporaryBytes: _default(positiveInt(), 3 * 512 * 1024 * 1024),
2565
2565
  /** wall-clock bound for a single validation git command */
2566
2566
  gitTimeoutMs: _default(positiveInt(), 3e5),
2567
- // ---- per-account bounds ----
2567
+ // ---- per-organisation bounds ----
2568
2568
  /**
2569
- * repositories one person may create, counted from the owner index; anyone may sign up and
2570
- * publish, so this bounds one account (docs/proposals/personal-organisations.md §8). Service
2571
- * principals are not counted. Defaulted so an older server reads as the default, not a failure.
2569
+ * ACTIVE repositories an organisation may hold when it sets no quota of its own in users
2570
+ * (ADR-0014 A1); anyone may sign up and publish, so this bounds one account's organisation.
2571
+ * Named `maxRepositoriesPerPrincipal` before 0.9.0, when it counted a creator's repositories.
2572
+ * Defaulted so an older server reads as the default, not a failure.
2572
2573
  */
2573
- maxRepositoriesPerPrincipal: _default(positiveInt(), 25)
2574
+ maxRepositoriesPerOrganisation: _default(positiveInt(), 25)
2574
2575
  });
2575
2576
  var DEFAULT_LIMITS = {
2576
2577
  maxPackBytes: 256 * 1024 * 1024,
@@ -2588,7 +2589,7 @@ var DEFAULT_LIMITS = {
2588
2589
  maxProcessMemoryBytes: 2 * 1024 * 1024 * 1024,
2589
2590
  maxTemporaryBytes: 3 * 512 * 1024 * 1024,
2590
2591
  gitTimeoutMs: 3e5,
2591
- maxRepositoriesPerPrincipal: 25
2592
+ maxRepositoriesPerOrganisation: 25
2592
2593
  };
2593
2594
 
2594
2595
  // ../protocol/src/storage-schema.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minnovate/shadow-publisher",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "description": "publisher: publish an app's Git history to the serverless Git backend",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",