RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: [email protected] Module: createrepo Date: 07-Aug-2010 01:42:22 Branch: VENDOR Handle: 2010080623422100 Added files: (Branch: VENDOR) createrepo COPYING Modified files: (Branch: VENDOR) createrepo ChangeLog Makefile createrepo.spec dumpMetadata.py genpkgmetadata.py Touched files: (Branch: VENDOR) createrepo README modifyrepo.py createrepo/bin Makefile createrepo modifyrepo createrepo/docs Makefile createrepo.8 Log: Import createrepo-0.4.8 [Release Tag: createrepo-0_4_8] Summary: Revision Changes Path 1.1.1.1 +339 -0 createrepo/COPYING 1.1.1.11 +303 -243 createrepo/ChangeLog 1.1.1.20 +5 -1 createrepo/Makefile 1.1.1.20 +5 -2 createrepo/createrepo.spec 1.1.1.18 +4 -3 createrepo/dumpMetadata.py 1.1.1.20 +3 -3 createrepo/genpkgmetadata.py ____________________________________________________________________________ patch -p0 <<'@@ .' Index: createrepo/COPYING ============================================================================ $ cvs diff -u -r0 -r1.1.1.1 COPYING --- /dev/null 2010-08-07 01:38:43.000000000 +0200 +++ COPYING 2010-08-07 01:42:22.926085073 +0200 @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) 19yy <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. @@ . patch -p0 <<'@@ .' Index: createrepo/ChangeLog ============================================================================ $ cvs diff -u -r1.1.1.10 -r1.1.1.11 ChangeLog --- createrepo/ChangeLog 6 Aug 2010 23:41:43 -0000 1.1.1.10 +++ createrepo/ChangeLog 6 Aug 2010 23:42:21 -0000 1.1.1.11 @@ -1,73 +1,135 @@ -2006-10-21 10:54 lmacken +2007-02-12 23:40 skvidal - * modifyrepo.py: use the mdname for the 'href' element, so it doesn't - explode when dealing with xml.dom.minidom.Document objects. + * Makefile: + add copying and copying.lib to makefile for 'make archive' -2006-10-14 01:30 lmacken +2007-02-12 23:37 skvidal - * Makefile, bin/Makefile, createrepo.spec: Makefile changes for - modifyrepo, and added it to the spec as well. + * ChangeLog: check in changelog -2006-08-23 15:40 lmacken +2007-02-12 23:37 skvidal - * modifyrepo.py, bin/modifyrepo: Initial import + * Makefile: and makefile ver -2006-08-11 16:03 pnasrat +2007-02-12 23:37 skvidal - * createrepo.spec: update date + * createrepo.spec, genpkgmetadata.py: mark as 0.4.8 -2006-08-11 16:01 pnasrat +2007-02-08 05:02 pnasrat - * genpkgmetadata.py, docs/createrepo.8: Patch from Hans-Peter - Jansen <[email protected]> -C, --checkts option added to avoid - metadata generation, if ctime filestamps are up to date. It's - currently mutually exclusive with the --split option. + * COPYING.lib, createrepo.spec: Add LGPL file -2006-07-28 15:49 pnasrat +2007-02-08 05:00 pnasrat - * genpkgmetadata.py: Fix cache output dir to 0.4.5 behaviour + * COPYING, createrepo.spec: Add COPYING -2006-07-28 15:42 pnasrat +2007-02-07 15:35 skvidal - * genpkgmetadata.py: Fix filtering out path from file list and - passing correct path to writeMetaData + * dumpMetadata.py: merge in Christoph Thiel's patch to fix string + conversion for odd EVR's -2006-07-28 15:35 pnasrat +2007-02-07 15:34 skvidal - * test/: testMetaDataGenerator.py, testSplitMetaDataGenerator.py: - nuke tests for now + * genpkgmetadata.py: + merge Jesse Keatings' patch to find groups file properly -2006-07-21 13:16 pnasrat +2007-02-07 01:16 skvidal - * Makefile: Bump + * Makefile: ver number in Makefile -2006-07-20 18:27 pnasrat +2007-02-06 01:12 skvidal - * genpkgmetadata.py: Make splitmetadata handler do it' own - getFileList to correctly manipulate paths. + * createrepo.spec: + yum-metadata-parser dep and new version number + +2007-02-06 01:12 skvidal + + * docs/createrepo.8: + update docs for -d -2006-07-20 18:22 pnasrat +2007-02-06 01:10 skvidal - * test/testSplitMetaDataGenerator.py: Improve tests for split cases + * genpkgmetadata.py: + 0.4.7 version number -2006-07-20 17:15 pnasrat +2007-02-04 15:50 skvidal - * test/testSplitMetaDataGenerator.py: duplicate for split tests + * dumpMetadata.py: + make database version listed in repomd -2006-07-20 17:02 pnasrat +2007-02-04 13:48 skvidal - * test/testMetaDataGenerator.py: More consistent naming Relative - and parallel dir testing + * dumpMetadata.py: + add dbversion to sqlite metadata in repomd. -2006-07-20 16:34 pnasrat +2007-02-03 17:07 skvidal - * test/testMetaDataGenerator.py: Refactor tests, add additional - tests + * dumpMetadata.py: default to max compression -2006-07-20 16:09 pnasrat +2007-02-03 15:40 skvidal - * test/testMetaDataGenerator.py: Start unit testing so we don't - regress behaviour + * dumpMetadata.py: + make the sqlite file names not look stupid + +2007-02-03 14:06 skvidal + + * dumpMetadata.py, genpkgmetadata.py: + allow optionally creating compressed sqlite databases + +2006-10-21 23:00 lmacken + + * ChangeLog, modifyrepo.py: use the mdname for the 'href' element, + so it doesn't explode when dealing with xml.dom.minidom.Document + objects. + +2006-10-14 13:26 lmacken + + * ChangeLog, Makefile, createrepo.spec, bin/Makefile: 2006-10-14 + 01:30 lmacken + + * Makefile, bin/Makefile, createrepo.spec: Makefile changes + for + modifyrepo, and added it to the spec as well. + +2006-08-23 15:42 lmacken + + * ChangeLog, modifyrepo.py, bin/modifyrepo: 2006-08-23 15:40 + lmacken + + * modifyrepo.py, bin/modifyrepo: Initial import + +2006-08-11 16:16 pnasrat + + * ChangeLog: Update changelog with cvs2cl + +2006-08-11 16:03 pnasrat + + * createrepo.spec: update date + +2006-08-11 16:01 pnasrat + + * genpkgmetadata.py, docs/createrepo.8: Patch from Hans-Peter + Jansen <[email protected]> -C, --checkts option added to avoid metadata + generation, if ctime filestamps are up to date. It's currently + mutually exclusive with the --split option. + +2006-07-28 15:49 pnasrat + + * genpkgmetadata.py: Fix cache output dir to 0.4.5 behaviour + +2006-07-28 15:42 pnasrat + + * genpkgmetadata.py: Fix filtering out path from file list and + passing correct path to writeMetaData + +2006-07-21 13:16 pnasrat + + * Makefile: Bump + +2006-07-20 18:27 pnasrat + + * genpkgmetadata.py: Make splitmetadata handler do it' own + getFileList to correctly manipulate paths. 2006-07-20 13:33 pnasrat @@ -76,8 +138,8 @@ 2006-07-20 13:20 pnasrat * genpkgmetadata.py: Move to split basedir and directory everywhere - to preserve command line paths. Use os.path.walk rather than our - own implementation Improve error messages + to preserve command line paths. Use os.path.walk rather than our + own implementation Improve error messages 2006-07-19 15:43 pnasrat @@ -90,19 +152,19 @@ 2006-07-19 15:25 pnasrat * dumpMetadata.py: Patch from [email protected] to use a more robust - rpm header signature retrieval method for cache files, as - recommended by Jeff Johnson. + rpm header signature retrieval method for cache files, as + recommended by Jeff Johnson. 2006-07-19 14:26 lmacken * ChangeLog, createrepo.spec: 2006-07-19 14:23 lmacken - - * createrepo.spec: remove python-urlgrabber dependency + + * createrepo.spec: remove python-urlgrabber dependency 2006-07-19 08:29 pnasrat * genpkgmetadata.py: Tolerate unknown files in repodata dirs - - Ville Skyttä + Ville Skyttä 2006-07-19 07:44 pnasrat @@ -114,36 +176,36 @@ 2006-06-26 11:03 skvidal - * ChangeLog: - overwrite changelog + * ChangeLog: + overwrite changelog 2006-06-15 11:39 lmacken * ChangeLog, genpkgmetadata.py, docs/createrepo.8: 2006-06-15 11:40 - lmacken - - * genpkgmetadata.py, docs/createrepo.8: - Revert --update-info-location patch, since yum now supports - arbitrary - metadata via YumRepository::retrieveMD() + lmacken + + * genpkgmetadata.py, docs/createrepo.8: + Revert --update-info-location patch, since yum now supports + arbitrary + metadata via YumRepository::retrieveMD() 2006-06-09 09:49 skvidal - * dumpMetadata.py, genpkgmetadata.py: - include Panu's patch to support --noepoch for use with old - versions of rpm + * dumpMetadata.py, genpkgmetadata.py: + include Panu's patch to support --noepoch for use with old versions + of rpm 2006-06-09 09:47 skvidal - * createrepo.spec: - fix the dep + * createrepo.spec: + fix the dep 2006-06-09 09:46 skvidal - * createrepo.spec, genpkgmetadata.py: - fix versions and bump by one. - - Thanks to Gareth Armstrong for noticing this. + * createrepo.spec, genpkgmetadata.py: + fix versions and bump by one. + + Thanks to Gareth Armstrong for noticing this. 2006-03-04 01:30 pnasrat @@ -156,49 +218,49 @@ 2006-02-21 18:30 pnasrat * Makefile, createrepo.spec, genpkgmetadata.py, docs/createrepo.8: - Documentation and version updates + Documentation and version updates 2006-02-21 15:10 pnasrat * dumpMetadata.py, genpkgmetadata.py: Enable seperate outputdir - (dgregor) + (dgregor) 2006-02-17 21:22 lmacken * genpkgmetadata.py, docs/createrepo.8: Add support for -U - (--update-info-location) flag to query a specified server for - package update metadata. The metadata will currently be stored - in 'repodata/update-info' and each package in the primary.xml - will have an <update id="FEDORA-XXXX-XX" - location="update-info/pkg-ver-rel.xml"/> tag which points to it's - corresponding update information. + (--update-info-location) flag to query a specified server for + package update metadata. The metadata will currently be stored in + 'repodata/update-info' and each package in the primary.xml will + have an <update id="FEDORA-XXXX-XX" + location="update-info/pkg-ver-rel.xml"/> tag which points to it's + corresponding update information. 2006-01-13 01:24 skvidal - * dumpMetadata.py, genpkgmetadata.py: - apply two patches from [email protected] - verifies that the - checksum cache file is more recent than the corresponding rpm - - move around cmds dict initialization to make it more consistent. + * dumpMetadata.py, genpkgmetadata.py: + apply two patches from [email protected] - verifies that the + checksum cache file is more recent than the corresponding rpm - + move around cmds dict initialization to make it more consistent. 2005-12-08 14:25 pnasrat * genpkgmetadata.py: Fix cachedir/groupfile handling with --basedir - and using paths not relative to cwd when run without --basedir. + and using paths not relative to cwd when run without --basedir. 2005-12-08 14:24 pnasrat * genpkgmetadata.py: Support --split option to label media with - urls across directories. + urls across directories. 2005-12-08 14:22 pnasrat - * genpkgmetadata.py: Split out processing into smaller methods. - Make ts internal. Files and base/file/other data attributes. + * genpkgmetadata.py: Split out processing into smaller methods. + Make ts internal. Files and base/file/other data attributes. 2005-12-08 14:21 pnasrat * genpkgmetadata.py: Cleanup of generator class to use cmds - internally as an attribute. + internally as an attribute. 2005-12-08 14:19 pnasrat @@ -207,211 +269,210 @@ 2005-11-27 18:01 skvidal * dumpMetadata.py: speed up by caching file mode lookup by Dennis - Gregorovic + Gregorovic 2005-11-11 16:03 pnasrat * dumpMetadata.py, genpkgmetadata.py: Enable basedir to be used - - dgregor + dgregor 2005-11-02 15:23 skvidal - * dumpMetadata.py, genpkgmetadata.py: - patch from Christoph Thiel to make it work on suse 9.3 and to - allow for non absolute-path cache dirs. + * dumpMetadata.py, genpkgmetadata.py: + patch from Christoph Thiel to make it work on suse 9.3 and to allow + for non absolute-path cache dirs. 2005-08-11 17:09 skvidal - * dumpMetadata.py: - turn off all signature checking when reading in headers + * dumpMetadata.py: + turn off all signature checking when reading in headers 2005-07-24 19:54 skvidal - * genpkgmetadata.py: - document that the -g option is for a file relative to the - directory you are creating the repository for. + * genpkgmetadata.py: + document that the -g option is for a file relative to the directory + you are creating the repository for. 2005-07-14 02:34 skvidal - * docs/createrepo.8: - man page for cachedir + * docs/createrepo.8: + man page for cachedir 2005-07-14 02:31 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - 0.4.3 + * Makefile, createrepo.spec, genpkgmetadata.py: + 0.4.3 2005-07-11 01:45 skvidal - * dumpMetadata.py, genpkgmetadata.py: - - disable the checksum flag - default and only use sha1sum's - - add in -c,--cachedir option to setup a cachedir for the cache - files of the checksums of the packages. Uses name-hdrid from the - package hdr as filenames. Contents of the file is a single line - of the package's checksum. This dramatically speeds up - rebuilding a repository's metadata b/c the checksum of the - package file was the item taking the most time. + * dumpMetadata.py, genpkgmetadata.py: + - disable the checksum flag - default and only use sha1sum's - add + in -c,--cachedir option to setup a cachedir for the cache files of + the checksums of the packages. Uses name-hdrid from the package hdr + as filenames. Contents of the file is a single line of the + package's checksum. This dramatically speeds up rebuilding a + repository's metadata b/c the checksum of the package file was the + item taking the most time. 2005-05-28 23:14 skvidal - * dumpMetadata.py, genpkgmetadata.py: - Apply Arun Bhanu's patch to add in --quiet and --verbose options - instead of just -q and -v + * dumpMetadata.py, genpkgmetadata.py: + Apply Arun Bhanu's patch to add in --quiet and --verbose options + instead of just -q and -v 2005-03-30 00:32 skvidal - * docs/Makefile: - fix mandir path for docs + * docs/Makefile: + fix mandir path for docs 2005-01-18 02:14 skvidal - * Makefile, docs/Makefile: - fix the Makefiles, f'real + * Makefile, docs/Makefile: + fix the Makefiles, f'real 2005-01-18 01:59 skvidal - * docs/: Makefile, createrepo.8: - real commit + * docs/: Makefile, createrepo.8: + real commit 2005-01-18 01:58 skvidal - * Makefile, createrepo.spec: - adding man page and upating the Makefiles and specfile - accordingly. Thanks Bob Kashani for the man page. + * Makefile, createrepo.spec: + adding man page and upating the Makefiles and specfile accordingly. + Thanks Bob Kashani for the man page. 2005-01-18 01:24 skvidal - * dumpMetadata.py: - need to seek to the beginning before doing a new read operation. + * dumpMetadata.py: + need to seek to the beginning before doing a new read operation. 2005-01-17 02:52 skvidal - * Makefile, createrepo.spec: - spec and Makefile to 0.4.2 + * Makefile, createrepo.spec: + spec and Makefile to 0.4.2 2005-01-17 02:52 skvidal - * dumpMetadata.py, genpkgmetadata.py: - move around gzipOpen for use in another program relabel 0.4.2 + * dumpMetadata.py, genpkgmetadata.py: + move around gzipOpen for use in another program relabel 0.4.2 2005-01-07 16:39 skvidal - * dumpMetadata.py, genpkgmetadata.py: - single open for all file operations. about a 30% time savings. + * dumpMetadata.py, genpkgmetadata.py: + single open for all file operations. about a 30% time savings. 2004-11-02 00:55 skvidal - * genpkgmetadata.py: - small fix for --exclude to work. -x works, but --exclude didn't, - now it is fixed + * genpkgmetadata.py: + small fix for --exclude to work. -x works, but --exclude didn't, + now it is fixed 2004-10-21 03:42 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - update version numbers + * Makefile, createrepo.spec, genpkgmetadata.py: + update version numbers 2004-10-21 03:40 skvidal - * dumpMetadata.py: - problem with ghost entries not showing up in primary.xml even if - they matched the regex strings. + * dumpMetadata.py: + problem with ghost entries not showing up in primary.xml even if + they matched the regex strings. 2004-10-18 01:41 skvidal - * bin/createrepo: - whoops! need to quote that var string + * bin/createrepo: + whoops! need to quote that var string 2004-10-11 07:43 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - correct problem with handling dirs with a space in the filename - update version number + * Makefile, createrepo.spec, genpkgmetadata.py: + correct problem with handling dirs with a space in the filename + update version number 2004-10-03 23:43 skvidal - * genpkgmetadata.py: - clean up argument parsing to handle --version and --help more - correctly. Not quite the patch Ville Skyttä submitted. + * genpkgmetadata.py: + clean up argument parsing to handle --version and --help more + correctly. Not quite the patch Ville Skyttä submitted. 2004-09-30 01:54 skvidal - * genpkgmetadata.py: - one more place to tag + * genpkgmetadata.py: + one more place to tag 2004-09-30 01:52 skvidal - * Makefile, createrepo.spec: - update to 0.3.9 + * Makefile, createrepo.spec: + update to 0.3.9 2004-09-30 01:49 skvidal - * dumpMetadata.py: - checksum of group file will be wrong if specified - didn't - seek(0) after copying it. + * dumpMetadata.py: + checksum of group file will be wrong if specified - didn't seek(0) + after copying it. 2004-09-20 01:13 skvidal - * genpkgmetadata.py: - made 'cannot remove old metadata dir' a non-fatal error. It just - warns. + * genpkgmetadata.py: + made 'cannot remove old metadata dir' a non-fatal error. It just + warns. 2004-09-20 01:06 skvidal - * genpkgmetadata.py: - updated to default to sha-1 checksums + * genpkgmetadata.py: + updated to default to sha-1 checksums 2004-09-11 16:19 skvidal - * createrepo.spec, genpkgmetadata.py: - update spec file as 0.3.8 fix for bug in command handling of - groups location + * createrepo.spec, genpkgmetadata.py: + update spec file as 0.3.8 fix for bug in command handling of groups + location 2004-09-11 16:07 skvidal - * Makefile: - fix for group file path being wrong - Bill Nottingham mark as - 0.3.8 + * Makefile: + fix for group file path being wrong - Bill Nottingham mark as 0.3.8 2004-09-11 16:07 skvidal - * dumpMetadata.py, genpkgmetadata.py: - fix for error when string is None for utf8 conversion + * dumpMetadata.py, genpkgmetadata.py: + fix for error when string is None for utf8 conversion 2004-09-03 02:29 skvidal - * Makefile: - Makefile update to fix a bug reported by Anvil + * Makefile: + Makefile update to fix a bug reported by Anvil 2004-09-01 02:56 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - 0.3.7 + * Makefile, createrepo.spec, genpkgmetadata.py: + 0.3.7 2004-08-27 03:03 skvidal - * dumpMetadata.py, genpkgmetadata.py: - patch from Ville Skytta (this a will be wrong, sorry) to correct - decoding/encoding problems. + * dumpMetadata.py, genpkgmetadata.py: + patch from Ville Skytta (this a will be wrong, sorry) to correct + decoding/encoding problems. 2004-07-23 16:22 skvidal - * README: - updated readme with anoncvs location + * README: + updated readme with anoncvs location 2004-07-23 15:41 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - ver to 0.3.6 + * Makefile, createrepo.spec, genpkgmetadata.py: + ver to 0.3.6 2004-07-23 14:45 skvidal - * dumpMetadata.py: - fix filelists to be complete + * dumpMetadata.py: + fix filelists to be complete 2004-07-23 11:56 skvidal - * dumpMetadata.py: - remove a debug print call + * dumpMetadata.py: + remove a debug print call 2004-07-23 11:51 skvidal @@ -419,143 +480,142 @@ 2004-07-23 11:50 skvidal - * dumpMetadata.py: - fix up for broken filelists in packages + * dumpMetadata.py: + fix up for broken filelists in packages 2004-07-23 01:23 skvidal - * genpkgmetadata.py: - silly string fix + * genpkgmetadata.py: + silly string fix 2004-07-19 21:24 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - bump number to 0.3.4 + * Makefile, createrepo.spec, genpkgmetadata.py: + bump number to 0.3.4 2004-07-19 21:23 skvidal - * dumpMetadata.py, genpkgmetadata.py: - re-enabled group files documented it + * dumpMetadata.py, genpkgmetadata.py: + re-enabled group files documented it 2004-06-30 04:23 skvidal - * dumpMetadata.py: - add pre=1 to requires entries for prereq marking + * dumpMetadata.py: + add pre=1 to requires entries for prereq marking 2004-06-30 03:08 skvidal - * dumpMetadata.py, genpkgmetadata.py: - - include xmlns:rpm in main metadata tag rather than per-format - node - fix output for sorta-list, sorta-string rpm header tags + * dumpMetadata.py, genpkgmetadata.py: + - include xmlns:rpm in main metadata tag rather than per-format + node - fix output for sorta-list, sorta-string rpm header tags 2004-06-28 11:24 skvidal - * dumpMetadata.py: - fix for namespace for license, vendor, group, buildhost and - sourcerpm was None, should have been formatns (rpm namespace) + * dumpMetadata.py: + fix for namespace for license, vendor, group, buildhost and + sourcerpm was None, should have been formatns (rpm namespace) 2004-06-08 23:09 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - mark as 0.3.3 + * Makefile, createrepo.spec, genpkgmetadata.py: + mark as 0.3.3 2004-06-06 18:38 skvidal - * genpkgmetadata.py: - included a not-that-terribly accurate package count + * genpkgmetadata.py: + included a not-that-terribly accurate package count 2004-06-05 14:38 skvidal - * dumpMetadata.py, genpkgmetadata.py: - generate uncompressed checksums a much easier way. + * dumpMetadata.py, genpkgmetadata.py: + generate uncompressed checksums a much easier way. 2004-06-05 14:31 skvidal - * dumpMetadata.py, genpkgmetadata.py: - revert some changes + * dumpMetadata.py, genpkgmetadata.py: + revert some changes 2004-06-03 02:14 skvidal - * genpkgmetadata.py: - fix stupid version thing + * genpkgmetadata.py: + fix stupid version thing 2004-06-03 02:14 skvidal - * dumpMetadata.py, genpkgmetadata.py: - keep checksum of uncompressed metadata files in repomd.xml + * dumpMetadata.py, genpkgmetadata.py: + keep checksum of uncompressed metadata files in repomd.xml 2004-06-03 01:26 skvidal - * dumpMetadata.py, genpkgmetadata.py: - move versioned prco from separate string to properties of the - entry + * dumpMetadata.py, genpkgmetadata.py: + move versioned prco from separate string to properties of the entry 2004-04-16 01:15 skvidal - * Makefile: - fix makefile + * Makefile: + fix makefile 2004-04-16 01:10 skvidal - * Makefile, createrepo.spec, genpkgmetadata.py: - update to 0.3.2 added -p or --pretty flag to make it pretty-print - the xml output not pretty printing the output makes the import a - lot faster and the data smaller + * Makefile, createrepo.spec, genpkgmetadata.py: + update to 0.3.2 added -p or --pretty flag to make it pretty-print + the xml output not pretty printing the output makes the import a + lot faster and the data smaller 2004-01-18 16:43 skvidal - * Makefile, createrepo.spec, dumpMetadata.py, genpkgmetadata.py: - 1. make it actually work :) 2. bump to 0.3.1 + * Makefile, createrepo.spec, dumpMetadata.py, genpkgmetadata.py: + 1. make it actually work :) 2. bump to 0.3.1 2004-01-18 12:57 skvidal - * Makefile, createrepo.spec: - add README for real *boggle* + * Makefile, createrepo.spec: + add README for real *boggle* 2004-01-18 12:56 skvidal - * Makefile, README, createrepo.spec: - tagged Makefile and createrepo as 0.3 Add README to both of the - above + * Makefile, README, createrepo.spec: + tagged Makefile and createrepo as 0.3 Add README to both of the + above 2004-01-18 11:45 skvidal - * genpkgmetadata.py: - make metadata files be written to repodata/ + * genpkgmetadata.py: + make metadata files be written to repodata/ 2004-01-17 01:04 skvidal - * dumpMetadata.py, genpkgmetadata.py: - fix bug where not all files were getting included make the - directory detection more reliable + * dumpMetadata.py, genpkgmetadata.py: + fix bug where not all files were getting included make the + directory detection more reliable 2004-01-13 22:56 skvidal * Makefile, createrepo.spec, dumpMetadata.py, genpkgmetadata.py, - bin/Makefile: - fixed memory use problem updated spec for 0.2 fixed makefile - dumbness fixed problems with broken symlinks + bin/Makefile: + fixed memory use problem updated spec for 0.2 fixed makefile + dumbness fixed problems with broken symlinks 2004-01-13 16:16 skvidal - * dumpMetadata.py: - catch some errors on broken symlinks + * dumpMetadata.py: + catch some errors on broken symlinks 2004-01-11 17:07 skvidal * Makefile, createrepo.spec, dumpMetadata.py, genpkgmetadata.py, - bin/Makefile, bin/createrepo: - - translation stubs - makefiles - spec file - bin wrapper + bin/Makefile, bin/createrepo: + - translation stubs - makefiles - spec file - bin wrapper 2004-01-10 03:39 skvidal - * dumpMetadata.py, genpkgmetadata.py: - silly updates in comments + * dumpMetadata.py, genpkgmetadata.py: + silly updates in comments 2004-01-10 03:34 skvidal - * dumpMetadata.py, genpkgmetadata.py: - CVS Id Tags + * dumpMetadata.py, genpkgmetadata.py: + CVS Id Tags 2004-01-10 03:34 skvidal @@ -563,21 +623,21 @@ 2004-01-10 03:33 skvidal - * genpkgmetadata.py: - added --version and __version__ string + * genpkgmetadata.py: + added --version and __version__ string 2004-01-10 03:04 skvidal - * dumpMetadata.py, genpkgmetadata.py: - move two functions around to more logically arrange the - repomd.xml generating function + * dumpMetadata.py, genpkgmetadata.py: + move two functions around to more logically arrange the repomd.xml + generating function 2004-01-09 02:48 skvidal - * dumpMetadata.py, genpkgmetadata.py: Initial revision + * dumpMetadata.py, genpkgmetadata.py: metadata generate first + import 2004-01-09 02:48 skvidal - * dumpMetadata.py, genpkgmetadata.py: metadata generate first - import + * dumpMetadata.py, genpkgmetadata.py: Initial revision @@ . patch -p0 <<'@@ .' Index: createrepo/Makefile ============================================================================ $ cvs diff -u -r1.1.1.19 -r1.1.1.20 Makefile --- createrepo/Makefile 6 Aug 2010 23:41:43 -0000 1.1.1.19 +++ createrepo/Makefile 6 Aug 2010 23:42:21 -0000 1.1.1.20 @@ -1,5 +1,5 @@ PACKAGE = createrepo -VERSION = 0.4.7 +VERSION = 0.4.8 SHELL = /bin/sh top_srcdir = . srcdir = . @@ -135,6 +135,8 @@ $(srcdir)/*.py \ $(srcdir)/Makefile \ $(srcdir)/ChangeLog \ + $(srcdir)/COPYING \ + $(srcdir)/COPYING.lib \ $(srcdir)/README \ $(srcdir)/$(PACKAGE).spec \ $(top_srcdir)/.disttmp/$$distdir @@ -148,6 +150,8 @@ $(srcdir)/*.py \ $(srcdir)/Makefile \ $(srcdir)/ChangeLog \ + $(srcdir)/COPYING \ + $(srcdir)/COPYING.lib \ $(srcdir)/README \ $(srcdir)/$(PACKAGE).spec \ $(top_srcdir)/.disttmp/$$distdir @@ . patch -p0 <<'@@ .' Index: createrepo/createrepo.spec ============================================================================ $ cvs diff -u -r1.1.1.19 -r1.1.1.20 createrepo.spec --- createrepo/createrepo.spec 6 Aug 2010 23:41:43 -0000 1.1.1.19 +++ createrepo/createrepo.spec 6 Aug 2010 23:42:21 -0000 1.1.1.20 @@ -1,6 +1,6 @@ Summary: Creates a common metadata repository Name: createrepo -Version: 0.4.7 +Version: 0.4.8 Release: 1 License: GPL Group: System Environment/Base @@ -29,13 +29,16 @@ %files %defattr(-, root, root) %dir %{_datadir}/%{name} -%doc ChangeLog README +%doc ChangeLog README COPYING COPYING.lib %{_datadir}/%{name}/* %{_bindir}/%{name} %{_bindir}/modifyrepo %{_mandir}/man8/createrepo.8* %changelog +* Mon Feb 12 2007 Seth Vidal <skvidal at linux.duke.edu> +- 0.4.8 + * Tue Feb 6 2007 Seth Vidal <skvidal at linux.duke.edu> - 0.4.7 and yum-metadata-parser dependency @@ . patch -p0 <<'@@ .' Index: createrepo/dumpMetadata.py ============================================================================ $ cvs diff -u -r1.1.1.17 -r1.1.1.18 dumpMetadata.py --- createrepo/dumpMetadata.py 6 Aug 2010 23:41:43 -0000 1.1.1.17 +++ createrepo/dumpMetadata.py 6 Aug 2010 23:42:21 -0000 1.1.1.18 @@ -16,7 +16,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Copyright 2004 Duke University -# $Id: dumpMetadata.py,v 1.1.1.17 2010/08/06 23:41:43 jbj Exp $ +# $Id: dumpMetadata.py,v 1.1.1.18 2010/08/06 23:42:21 jbj Exp $ import os import rpm @@ -339,11 +339,12 @@ def _stringToVersion(self, strng): i = strng.find(':') - if i != -1: + if i != -1 and strng[:i].isdigit(): epoch = strng[:i] else: + i = -1 epoch = self.noepoch - j = strng.find('-') + j = strng.rfind('-') if j != -1: if strng[i + 1:j] == '': version = None @@ . patch -p0 <<'@@ .' Index: createrepo/genpkgmetadata.py ============================================================================ $ cvs diff -u -r1.1.1.19 -r1.1.1.20 genpkgmetadata.py --- createrepo/genpkgmetadata.py 6 Aug 2010 23:41:43 -0000 1.1.1.19 +++ createrepo/genpkgmetadata.py 6 Aug 2010 23:42:21 -0000 1.1.1.20 @@ -17,7 +17,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Copyright 2004 Duke University -# $Id: genpkgmetadata.py,v 1.1.1.19 2010/08/06 23:41:43 jbj Exp $ +# $Id: genpkgmetadata.py,v 1.1.1.20 2010/08/06 23:42:21 jbj Exp $ import os @@ -31,7 +31,7 @@ import dumpMetadata from dumpMetadata import _gzipOpen -__version__ = '0.4.7' +__version__ = '0.4.8' def errorprint(stuff): print >> sys.stderr, stuff @@ -481,7 +481,7 @@ if cmds['split']: a = os.path.join(cmds['basedir'], directory, cmds['groupfile']) elif not os.path.isabs(a): - a = os.path.join(cmds['basedir'], cmds['groupfile']) + a = os.path.join(cmds['basedir'], directory, cmds['groupfile']) if not os.path.exists(a): errorprint(_('Error: groupfile %s cannot be found.' % a)) usage() @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository [email protected]
