@teambit/ci 1.0.647 → 1.0.649

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/ci.docs.mdx CHANGED
@@ -271,7 +271,7 @@ bit ci sync [lane] [--branch <branch>] [--all] [--main] [--dry-run] [--init]
271
271
  | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
272
272
  | _(no args)_ | The same as `--all`. |
273
273
  | `[lane]` | One lane. Give the lane name, which the command resolves against `defaultScope`, or a scope-qualified id such as `other-org.other-scope/my-lane`. The `lanes` patterns still filter the lane, and those patterns match the lane **name**. |
274
- | `--branch` | The command resolves the lane from a branch name through the mapping config. Use the flag for a push-triggered run. The flag carries a branch name only, so the command assumes `defaultScope`. |
274
+ | `--branch` | The command resolves the lane from a branch name through the mapping config. Use the flag for a push-triggered run. The flag carries a branch name only. The command reads the lane id from the committed `.bitmap` of the branch, and otherwise assumes `defaultScope`. |
275
275
  | `--all` | Every mapped lane, plus the main scope. The run includes a lane that exists only as a branch. The command therefore retires the branch and the pull request of a lane that bit.cloud deleted. |
276
276
  | `--main` | Only the main scope, against the default branch. |
277
277
  | `--dry-run` | The command reports the action for each target. The command pushes nothing, and the command creates, closes, labels and comments no pull request. The run is not read-only on disk: the command writes the working tree, `.bitmap` and the local scope, then restores them. The command therefore refuses a dirty working tree. The command exits non-zero if the plan needs a person. |
@@ -328,6 +328,11 @@ An `--all` run visits two sets of targets: the lanes that match the `lanes` patt
328
328
  branches on `origin`. The second set makes the cleanup possible. A lane that bit.cloud deleted is absent from
329
329
  the first set, so a run that reads lanes only would leave an orphan branch and an open pull request.
330
330
 
331
+ The command resolves each branch of the second set against the lane that the committed `.bitmap` of the branch
332
+ points at, when that pointer has the lane name of the branch. Other branches resolve against `defaultScope`.
333
+ So after another scope archives a lane that this repository mirrors, the next `--all` run closes its pull
334
+ request.
335
+
331
336
  ### Halts and conflicts
332
337
 
333
338
  The command halts a lane that it cannot reconcile without a person. The command puts the
package/dist/ci.docs.mdx CHANGED
@@ -271,7 +271,7 @@ bit ci sync [lane] [--branch <branch>] [--all] [--main] [--dry-run] [--init]
271
271
  | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
272
272
  | _(no args)_ | The same as `--all`. |
273
273
  | `[lane]` | One lane. Give the lane name, which the command resolves against `defaultScope`, or a scope-qualified id such as `other-org.other-scope/my-lane`. The `lanes` patterns still filter the lane, and those patterns match the lane **name**. |
274
- | `--branch` | The command resolves the lane from a branch name through the mapping config. Use the flag for a push-triggered run. The flag carries a branch name only, so the command assumes `defaultScope`. |
274
+ | `--branch` | The command resolves the lane from a branch name through the mapping config. Use the flag for a push-triggered run. The flag carries a branch name only. The command reads the lane id from the committed `.bitmap` of the branch, and otherwise assumes `defaultScope`. |
275
275
  | `--all` | Every mapped lane, plus the main scope. The run includes a lane that exists only as a branch. The command therefore retires the branch and the pull request of a lane that bit.cloud deleted. |
276
276
  | `--main` | Only the main scope, against the default branch. |
277
277
  | `--dry-run` | The command reports the action for each target. The command pushes nothing, and the command creates, closes, labels and comments no pull request. The run is not read-only on disk: the command writes the working tree, `.bitmap` and the local scope, then restores them. The command therefore refuses a dirty working tree. The command exits non-zero if the plan needs a person. |
@@ -328,6 +328,11 @@ An `--all` run visits two sets of targets: the lanes that match the `lanes` patt
328
328
  branches on `origin`. The second set makes the cleanup possible. A lane that bit.cloud deleted is absent from
329
329
  the first set, so a run that reads lanes only would leave an orphan branch and an open pull request.
330
330
 
331
+ The command resolves each branch of the second set against the lane that the committed `.bitmap` of the branch
332
+ points at, when that pointer has the lane name of the branch. Other branches resolve against `defaultScope`.
333
+ So after another scope archives a lane that this repository mirrors, the next `--all` run closes its pull
334
+ request.
335
+
331
336
  ### Halts and conflicts
332
337
 
333
338
  The command halts a lane that it cannot reconcile without a person. The command puts the
@@ -1,5 +1,5 @@
1
1
  ;
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.git_ci@1.0.647/dist/ci.docs.mdx';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.git_ci@1.0.649/dist/ci.docs.mdx';
3
3
 
4
4
  export const compositions = [];
5
5
  export const overview = [overview_0];
@@ -276,7 +276,7 @@ export declare class LaneSyncExecutor {
276
276
  * being asked to reflect.
277
277
  */
278
278
  private materializeLane;
279
- private fetchOnce;
279
+ fetchOnce(): Promise<void>;
280
280
  /**
281
281
  * The remote lane's data, or undefined when the lane no longer exists. The remote queried must be
282
282
  * the lane's HOSTING scope: asking `defaultScope` for a lane it does not host answers "was not