• Home
  • Raw
  • Download

Lines Matching full:bootstrap

6 """Automatically maintains the rust-bootstrap package.
9 - uploading new rust-bootstrap prebuilts
10 - adding new versions of rust-bootstrap to keep up with dev-lang/rust
11 - removing versions of rust-bootstrap that are no longer depended on by
47 """Represents an ebuild version, simplified for rust-bootstrap versions.
93 raise ValueError("No bootstrap sequence start found in text")
98 raise ValueError("No bootstrap sequence end found in text")
154 """Returns a URL to a prebuilt for `version` of rust-bootstrap."""
160 # Search for all rust-bootstrap versions rather than specifically
166 "/packages/dev-lang/rust-bootstrap-*tbz2"
169 logging.info("Searching %s for rust-bootstrap version %s", gs_glob, version)
179 r"rust-bootstrap-" + re.escape(str(version)) + r"\.tbz2$"
185 logging.info("Found rust-bootstrap prebuilt: %s", result)
187 logging.info("Skipped rust-bootstrap prebuilt: %s", result)
190 "No rust-bootstrap for %s found (regex: %s); options: %s",
224 >>> parse_ebuild_version("rust-bootstrap-1.70.0-r2.ebuild")
328 new_ebuild = ebuild.parent / f"rust-bootstrap-{new_version}.ebuild"
340 # Since rust-bootstrap's functionality relies heavily on `${PV}`, it's
435 """Ensures that prebuilts in rust-bootstrap ebuilds are up-to-date.
482 f"- rust-bootstrap-{version.without_rev()} => {maybe_gs_path}"
486 f"- rust-bootstrap-{version.without_rev()} was already on "
498 rust-bootstrap: use prebuilts
500 This CL used the following rust-bootstrap artifacts:
512 """Derives dev-lang/rust's dir from dev-lang/rust-bootstrap's dir."""
517 """Raised when rust-bootstrap can't be landed due to a missing prebuilt."""
526 """Ensures that there's a rust-bootstrap-${N} ebuild matching rust-${N}.
530 rust_bootstrap_dir: Path to rust-bootstrap's directory.
542 rust-bootstrap ebuild wouldn't be buildable, since there's no
543 rust-bootstrap prebuilt of the prior version for it to sync.
553 "Detected newest rust-bootstrap version: %s", newest_bootstrap_version
561 # releases for rust-bootstrap. It's OK to _initially land_ e.g.,
562 # rust-bootstrap-1.73.1, but upgrades from rust-bootstrap-1.73.0 to
563 # rust-bootstrap-1.73.1 are rare, and have added complexity, so should be
569 logging.info("No missing rust-bootstrap versions detected.")
583 # Ensure the rust-bootstrap ebuild we're landing is a regular file. This
588 / f"rust-bootstrap-{newest_rust_version.without_rev()}.ebuild"
610 rust-bootstrap: add version {newest_no_rev}
612 Rust is now at {newest_no_rev}; add a rust-bootstrap version so
651 """Deletes versions of rust-bootstrap ebuilds that seem unneeded.
659 rust_bootstrap_dir: Path to rust-bootstrap's directory.
676 "Current rust-bootstrap versions: %s",
689 "Needed rust-bootstrap versions (major/minor only): %s",
696 # Don't remove newer rust-bootstrap versions, since they're likely to
704 logging.info("No versions of rust-bootstrap are unneeded.")
713 ebuild.parent.glob(f"rust-bootstrap-{escaped_ver}*.ebuild")
718 # We can end up in a case where rust-bootstrap versions are unneeded, but
720 # rust-bootstrap-1.73.0.ebuild is considered 'old', but
721 # rust-bootstrap-1.74.0.ebuild is required. If rust-bootstrap-1.74.0.ebuild
722 # is a symlink to rust-bootstrap-1.73.0.ebuild, the 'old' ebuild can't be
723 # deleted until rust-bootstrap-1.74.0.ebuild is fixed up.
763 rust-bootstrap: remove unused ebuild{"s" if many else ""}
814 rust_bootstrap_dir = opts.chromiumos_overlay / "dev-lang/rust-bootstrap"
833 "Ensuring newest rust-bootstrap ebuild exists failed."