Merged from trunk -r11860:11867
| 11861 | Bug #246451 - Inside SecuritySet._reduce(), use |
| zmedico | portdbapi.xmatch("match-all") in order do be consistent with |
| | portage.glsa.getMinUpgrade() which also uses match-all. |
| 11862 | Use a frozenset to optimize skiplist containment checks |
| zmedico | inside NewsManager.updateItems(). |
| 11863 | Instead of raising a TypeError from the NewsItem |
| zmedico | constructor, check the path inside NewsManager.updateItems() |
| | before the NewsItem constructor is called. |
| 11864 | Inside NewsManager.updateItems(), use a mutable set for |
| zmedico | skiplist and sort the contents when writing the file. |
| 11865 | Sort the return value from cpv_all() inside |
| zmedico | vardbapi._counter_hash() instead of sorting them in side |
| | cpv_all(). Thanks to Brian Harring for the suggestion. |
| 11866 | * Add NewsItem.isValid() and DisplayRestriction.isValid() |
| zmedico | methods and use use them to check validity inside |
| | NewsManager.updateItems(). * Make |
| | DisplayInstalledRestriction.isValid() check validity of the |
| | atom. |
| 11867 | Use a simpler approach instead of implementing |
| zmedico | NewsItem.__getattr__(). |
Merged from trunk -r11867:11893
| 11868 | Always return early from NewsManager.updateItems() if |
| zmedico | self.unread_path can't be created. |
| 11869 | Return early from NewsManager.updateItems() if the news path |
| zmedico | listdir call fails. |
| 11870 | Misc fixes and cleanups in NewsManager. |
| zmedico | |
| 11871 | Add quote from GLEP 42 about permission bits. |
| zmedico | |
| 11872 | Use grabfile() instead of grablines(), to ignore empty |
| zmedico | lines. |
| 11873 | Use apply_secpass_permissions() to avoid |
| zmedico | OperationNotPermitted errors when not allowed to chown files |
| | to root uid. |
| 11890 | Bug #244485 - Document the doman enhancement from bug |
| zmedico | #222439. |
| 11891 | Bug #244485 - Document src_prepare() and src_configure() |
| zmedico | phase functions. |
| 11892 | Bug #244485 - Document the default phase function helpers. |
| zmedico | |
| 11893 | Rename the "FUNCTIONS" section to "PHASE FUNCTIONS". |
| zmedico | |
svn path=/main/branches/prefix/; revision=11944