summaryrefslogtreecommitdiff
path: root/morphlib/repoaliasresolver.py
Commit message (Collapse)AuthorAgeFilesLines
* REPOALIAS: Restructure debuggingDaniel Silverstone (br7vm)2013-05-281-16/+9
| | | | | | Restructure the repo alias debugging so we do not flood the log with a lot of non-useful repo alias debug, instead log a single line indicating expansions which occur.
* REPOALIAS: Update repo alias to support dashes and to be more strict.Daniel Silverstone (br7vm)2013-05-281-2/+2
| | | | Now, repo aliases must meet [a-z][a-z0-9-]+ rather than just [a-z0-9]+
* RepoAliasResolver: Add aliases_from_url methodRichard Maw2013-02-111-0/+24
| | | | This returns a sorted list of possible aliases for a url.
* repoaliasresolver: compile patterns on creationRichard Maw2013-02-111-18/+35
| | | | | | | | | This also involved codifying it ignoring malformed aliases. Such behaviour was implemented before, but wasn't obvious. The restructuring made it have a line of code of its own, which meant it needed unit testing.
* python scripts: pep8ize codebaseRichard Maw2012-08-011-9/+8
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Add new RepoAliasResolver class to resolve repo names with aliases.Jannis Pohlmann2012-05-041-0/+83