Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bintree: don't provide default VERSION headerv2.2.0_alpha41 | Zac Medico | 2011-06-13 | 1 | -1/+0 |
| | | | | | We want to make sure that we know when the VERSION header is missing, so we shouldn't provide a default value. | ||||
* | bintree: verify that default REPO is legit | Zac Medico | 2011-06-10 | 1 | -1/+1 |
| | | | | | We need to check the RepoConfig.missing_repo_name attribute to make sure the repo_name is really defined. | ||||
* | bintree: handle pkgindex CHOST header like REPO | Zac Medico | 2011-06-10 | 1 | -1/+2 |
| | | | | | This allows an existing CHOST header entry to properly override our default. | ||||
* | bintree: always populate pkgindex REPO header | Zac Medico | 2011-06-10 | 1 | -10/+16 |
| | | | | | | | The previous code would only populate it when there was no existing index file. Now, the default will be populated even if the file exists already. If an existing pkgindex header already defines these keys, then they will appropriately override our defaults. | ||||
* | bintree: populate REPO header for empty pkgindexv2.2.0_alpha38 | Zac Medico | 2011-06-06 | 1 | -1/+8 |
| | |||||
* | emerge: add --rebuild and --norebuild-atoms opts | David James | 2011-05-01 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | Rebuild when build-time/run-time deps are upgraded. If pkgA has been updated, and pkgB depends on pkgA at both build-time and run-time, pkgB needs to be rebuilt. This feature ensures that all packages are consistent when dependencies that are used at both runtime and build time are changed. This feature only rebuilds packages one layer deep. That means that if you upgrade libcros, for example, packages that depend directly on libcros will be rebuilt and reinstalled, but indirect dependencies will not be rebuilt. BUG=chromium-os:14296 TEST=Test whether packages rebuilding a bunch of packages. Change-Id: Idbc0532b4b1de28fd9e5a0abe3b7dbe1a3abd2c8 Review URL: http://codereview.chromium.org/6905107 | ||||
* | Fix unhandled FileNotFound from previous commit. | Zac Medico | 2011-02-13 | 1 | -1/+1 |
| | | | | | There is an existing handler for EnvironmentError, so raise that instead of FileNotFound. | ||||
* | Add support for grabbing Packages files using external programs. | David James | 2011-02-13 | 1 | -2/+14 |
| | | | | | | | | | | | | | If the user specifies FETCHCOMMAND_*, Portage should honor this when grabbing Packages files. This allows users to setup support for grabbing Packages files from other protocols. BUG=chrome-os-partner:2026 TEST=Try downloading prebuilts from gs:// when FETCHCOMMAND_GS is setup in make.conf Change-Id: I96b239819351633dd02d608954e81a1c363a4687 Review URL: http://codereview.chromium.org/6458015 | ||||
* | bintree: cleanup/fix old binhost code more | Zac Medico | 2011-02-02 | 1 | -4/+2 |
| | |||||
* | bintree: clean up dict use in old binhost code | Zac Medico | 2011-02-02 | 1 | -2/+3 |
| | |||||
* | bintree: add missing del from previous commit | Zac Medico | 2011-02-02 | 1 | -1/+1 |
| | |||||
* | bintree: remove unused __remotepkgs | Zac Medico | 2011-02-02 | 1 | -10/+5 |
| | |||||
* | bintree: warn for missing binhost TIMESTAMP | Zac Medico | 2011-01-29 | 1 | -0/+2 |
| | | | | This seems to be the case that's triggered in bug 353189 and bug 350139. | ||||
* | binarytree: fix BASE_URI for old-style binhost | Zac Medico | 2011-01-26 | 1 | -0/+1 |
| | |||||
* | binarytree: fix broken BASE_URI initialization | Zac Medico | 2011-01-26 | 1 | -2/+3 |
| | |||||
* | Update Portage to support multiple binhosts. | David James | 2011-01-26 | 1 | -15/+19 |
| | | | | | | | | | | | BUG=chromium-os:11295 TEST=Build x86-mario with multiple binhosts (board binhost, preflight binhost) and verify that binaries are picked up from both binhosts. Also verify that if one of the binhosts fails, the other binhost is used correctly. Review URL: http://codereview.chromium.org/6329022 Change-Id: I095f28c82e3effbc25105af6ac89e42c335e6381 | ||||
* | Omit user:pass@ from binhost Packages cache path. | Zac Medico | 2010-12-31 | 1 | -2/+11 |
| | |||||
* | bintree: add timeout for closing binhost connv2.2.0_alpha11 | Zac Medico | 2010-12-31 | 1 | -2/+13 |
| | | | | Hopefully this solves bug #350139. | ||||
* | Use bytes literals. | Arfrever Frehtes Taifersar Arahesis | 2010-12-06 | 1 | -16/+6 |
| | |||||
* | complete binhost ssh/sftp port support | Zac Medico | 2010-11-04 | 1 | -12/+11 |
| | |||||
* | binarytree: handle binhost port for sftp/ssh | Zac Medico | 2010-11-04 | 1 | -4/+16 |
| | |||||
* | reposyntax: Print cpv from all repos for "masked by" messages | Sebastian Luther | 2010-09-26 | 1 | -1/+1 |
| | |||||
* | reposyntax: Add support all over the place | Sebastian Luther | 2010-09-26 | 1 | -1/+1 |
| | |||||
* | Add PORTAGE_BINHOST sftp protocol support.v2.2_rc87 | Zac Medico | 2010-09-25 | 1 | -5/+24 |
| | |||||
* | Implement PORTAGE_BINHOST ssh:// protocol support by spawning ssh | Zac Medico | 2010-09-25 | 1 | -1/+18 |
| | | | | | | | | | | and using it to stream the Packages file on stdout. This assumes that you have ssh-agent running, for authentication. For now, you won't be able to use this unless you define your own FETCHCOMMAND_SSH and RESUMECOMMAND_SSH values. It's trivial to do this if you create a helper script that calls rsync after transforming the URI into the host:/path format that rsync uses. | ||||
* | Move all imports in bintree.py to the top. | Zac Medico | 2010-09-25 | 1 | -22/+14 |
| | |||||
* | Add a new package set called @unavailable-binaries which matches | Zac Medico | 2010-09-07 | 1 | -0/+5 |
| | | | | | packages that are installed for which corresponding binary packages are not available. | ||||
* | use EROOT with CACHE_PATH | Fabian Groffen | 2010-09-04 | 1 | -1/+1 |
| | |||||
* | Fix breakage in use_reduce() calls where token_class=Atom is incorrect. | Zac Medico | 2010-08-26 | 1 | -1/+6 |
| | |||||
* | Make use_reduce() call Atom.evaluate_conditionals() when matchall is False, | Zac Medico | 2010-08-26 | 1 | -12/+2 |
| | | | | | and pass token_class=Atom in use_reduce() calls so that external Atom.evaluate_conditionals() calls can be eliminated. | ||||
* | Fix erroneoud reference to self.aux_get in bintree.move_ent(). | Zac Medico | 2010-08-22 | 1 | -1/+2 |
| | |||||
* | Handle OSError from os.path.samefile() (breakage from previous commit). | Zac Medico | 2010-08-16 | 1 | -1/+5 |
| | |||||
* | Bug #332967 - In bintree.inject(), add a sanity check to make sure we | Zac Medico | 2010-08-16 | 1 | -2/+3 |
| | | | | | don't try to call movefile on a package that's already in the correct location. | ||||
* | portage/dbapi/{bintree.py,porttree.py}: Remove deprecated stuff in all places | Sebastian Luther | 2010-08-11 | 1 | -3/+0 |
| | |||||
* | portage/dbapi/bintree.py: Remove deprecated parameter | Sebastian Luther | 2010-08-11 | 1 | -23/+1 |
| | |||||
* | portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arrays | Sebastian Luther | 2010-08-10 | 1 | -4/+2 |
| | | | | | This change makes paren_reduce and paren_normalize calls for use_reduce redundant, resp. wrong. All consumers inside portage are adopted. | ||||
* | Add REQUIRED_USE to metadata keys, caches, etc. | Sebastian Luther | 2010-08-10 | 1 | -3/+6 |
| | |||||
* | Tweak global updates handling so that updates from $PORTDIR are applied | Zac Medico | 2010-07-27 | 1 | -2/+3 |
| | | | | | | | | | for all of the following cases: * package is missing repository metadata * package has repository metadata, but the source repository does not have a profiles/updates/ directory * package has repository metadata, but the source repository is not currently accessible via PORTDIR_OVERLAY | ||||
* | Support repository-wide updates. | Michał Górny | 2010-07-27 | 1 | -1/+3 |
| | | | | | | | Support reading repository-wide update files. Apply them as long as the 'repository' for vardb entry matches the repository update is originating from. For world and configuration files, use the best vardb match. | ||||
* | Split out a _pkgindex_cpv_map_latest_build() function. | Zac Medico | 2010-06-04 | 1 | -26/+36 |
| | |||||
* | Fix code from previous commit to handle missing BUILD_TIME better. | Zac Medico | 2010-06-04 | 1 | -10/+10 |
| | |||||
* | When organizing remote binhost metadata into a cpv -> metadata map, | Zac Medico | 2010-06-04 | 1 | -1/+25 |
| | | | | | check for multiple packages with identical CPV values, and prefer the package with latest BUILD_TIME value. | ||||
* | Don't use finally with atomic_ofstream since that prevents it from | Zac Medico | 2010-05-13 | 1 | -12/+6 |
| | | | | aborting when appropriate. | ||||
* | Fix typo from previous commit. | Zac Medico | 2010-04-28 | 1 | -1/+1 |
| | |||||
* | Inside bintree.inject(), discard cached metadata to ensure that | Zac Medico | 2010-04-28 | 1 | -0/+4 |
| | | | | _pkgindex_entry doesn't return stale metadata. | ||||
* | In bintree.inject(), ensure that _pkgindex_entry returns local metadata | Zac Medico | 2010-04-27 | 1 | -5/+6 |
| | | | | | rather than remote metadata. Thanks to Kenneth Waters <kwaters@chromium.org> for reporting. | ||||
* | Handle IOError when trying to cache the Packages file from the binhost. | Zac Medico | 2010-04-09 | 1 | -1/+1 |
| | |||||
* | When caching Packages file from binhost, ignore failure to write in cases | Zac Medico | 2010-04-09 | 1 | -2/+1 |
| | | | | when the cache directory is not writable. | ||||
* | Add DEFINED_PHASES to the dbapi caches and _emerge.Package.metadata | Sebastian Luther | 2010-03-30 | 1 | -3/+4 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| |