razor2.git/.git
18 years agoFirst steps towards rpm installation.
Kristian Høgsberg [Fri, 9 Nov 2007 03:45:27 +0000]
First steps towards rpm installation.

18 years agoDrop support for half-baked rzr file idea.
Kristian Høgsberg [Fri, 9 Nov 2007 03:36:16 +0000]
Drop support for half-baked rzr file idea.

18 years agoExtend rpm dumper into an rpm importer.
Kristian Høgsberg [Thu, 8 Nov 2007 22:14:19 +0000]
Extend rpm dumper into an rpm importer.

18 years agoAdd the first bits of rpm file parser.
Kristian Høgsberg [Wed, 7 Nov 2007 05:33:56 +0000]
Add the first bits of rpm file parser.

18 years agoImprove download error handling, don't use libcurl progress.
Kristian Høgsberg [Tue, 6 Nov 2007 03:54:33 +0000]
Improve download error handling, don't use libcurl progress.

18 years agoOnly download yum files if they're not there.
Kristian Høgsberg [Tue, 6 Nov 2007 02:55:31 +0000]
Only download yum files if they're not there.

18 years agoLink to curl and download yum files automatically.
Kristian Høgsberg [Tue, 6 Nov 2007 00:06:52 +0000]
Link to curl and download yum files automatically.

18 years agoParse filelists.xml.gz too, so we import the yum files too.
Kristian Høgsberg [Sun, 4 Nov 2007 05:11:53 +0000]
Parse filelists.xml.gz too, so we import the yum files too.

18 years agoSet the property type when merging package sets.
Kristian Høgsberg [Sun, 4 Nov 2007 04:58:57 +0000]
Set the property type when merging package sets.

18 years agoDon't reset yum parser state when finishing parsing rpm:entry.
Kristian Høgsberg [Sun, 4 Nov 2007 04:58:25 +0000]
Don't reset yum parser state when finishing parsing rpm:entry.

This fixes the bug where each package on got on of each property type.

18 years agoImport obsoletes and conflicts; add commands to list them.
Kristian Høgsberg [Thu, 1 Nov 2007 02:59:42 +0000]
Import obsoletes and conflicts; add commands to list them.

18 years agoStore requires and provides in the same list.
Kristian Høgsberg [Thu, 1 Nov 2007 02:41:27 +0000]
Store requires and provides in the same list.

18 years agoTrim TODO, start tracking what's needed for 0.1 (replace rpm+yum).
Kristian Høgsberg [Mon, 29 Oct 2007 02:36:26 +0000]
Trim TODO, start tracking what's needed for 0.1 (replace rpm+yum).

18 years agoUse a terminator bit instead of ~0 for all lists.
Kristian Høgsberg [Fri, 26 Oct 2007 03:35:42 +0000]
Use a terminator bit instead of ~0 for all lists.

18 years agoMore ideas for TODO.
Kristian Høgsberg [Thu, 25 Oct 2007 17:25:45 +0000]
More ideas for TODO.

18 years agoFix yum importer.
Kristian Høgsberg [Thu, 25 Oct 2007 17:19:49 +0000]
Fix yum importer.

18 years agoUse immediate links for property package lists too.
Kristian Høgsberg [Wed, 24 Oct 2007 17:39:57 +0000]
Use immediate links for property package lists too.

18 years agoIntroduce an immediate bit for 1-length lists.
Kristian Høgsberg [Wed, 24 Oct 2007 17:20:12 +0000]
Introduce an immediate bit for 1-length lists.

Instead of linking to a ~0 terminated list of one package, use the
high bit of the link to indicate it's a direct link to the one package.

18 years agoImport rpm release as part of the version.
Kristian Høgsberg [Wed, 24 Oct 2007 16:21:29 +0000]
Import rpm release as part of the version.

18 years agoAdd README and add primary.xml.gz to .gitignore.
Kristian Høgsberg [Wed, 24 Oct 2007 04:50:29 +0000]
Add README and add primary.xml.gz to .gitignore.

18 years agoFix problem where / would get added as an entry under root directory.
Kristian Høgsberg [Wed, 24 Oct 2007 04:32:18 +0000]
Fix problem where / would get added as an entry under root directory.

18 years agoTrack files per package and add command to list them.
Kristian Høgsberg [Wed, 24 Oct 2007 04:05:42 +0000]
Track files per package and add command to list them.

18 years agoPrune TODO items.
Kristian Høgsberg [Wed, 24 Oct 2007 04:01:43 +0000]
Prune TODO items.

18 years agoAdd fnmatch() filtering to output to improve tab-completion.
Kristian Høgsberg [Tue, 23 Oct 2007 05:57:39 +0000]
Add fnmatch() filtering to output to improve tab-completion.

18 years agoAdd bash completion script.
Kristian Høgsberg [Tue, 23 Oct 2007 02:55:06 +0000]
Add bash completion script.

18 years agoTrack file owner ship.
Kristian Høgsberg [Tue, 23 Oct 2007 02:53:55 +0000]
Track file owner ship.

18 years agoTODO: Add pipelined download and install idea.
Kristian Høgsberg [Tue, 23 Oct 2007 00:41:54 +0000]
TODO: Add pipelined download and install idea.

18 years agoFix argument parsing for a couple of commands.
Kristian Høgsberg [Tue, 23 Oct 2007 00:12:58 +0000]
Fix argument parsing for a couple of commands.

18 years agoImplement listing only files in a subdirectory.
Kristian Høgsberg [Mon, 22 Oct 2007 02:41:02 +0000]
Implement listing only files in a subdirectory.

18 years agoAdd a file tree section to the package set structure.
Kristian Høgsberg [Mon, 22 Oct 2007 01:57:22 +0000]
Add a file tree section to the package set structure.

18 years agoUpdate TODO a bit.
Kristian Høgsberg [Mon, 22 Oct 2007 01:42:31 +0000]
Update TODO a bit.

18 years agoExtend importers to also pick up filelists for packages.
Kristian Høgsberg [Sun, 7 Oct 2007 18:25:06 +0000]
Extend importers to also pick up filelists for packages.

18 years agoFix typo in command_update().
Kristian Høgsberg [Fri, 5 Oct 2007 20:38:59 +0000]
Fix typo in command_update().

18 years agoAdd diff function to compute the difference between two package sets.
Kristian Høgsberg [Fri, 5 Oct 2007 20:26:27 +0000]
Add diff function to compute the difference between two package sets.

18 years agoSplit command line interface out into main.c.
Kristian Høgsberg [Sun, 30 Sep 2007 04:18:08 +0000]
Split command line interface out into main.c.

18 years agoGet version flags for requires in rpmdb importer.
Kristian Høgsberg [Sun, 30 Sep 2007 03:30:35 +0000]
Get version flags for requires in rpmdb importer.

18 years agoImplement linear package set merger.
Kristian Høgsberg [Sat, 29 Sep 2007 23:25:38 +0000]
Implement linear package set merger.

18 years agoUpdate TODO; prune a couple of obsolete items, add a new few new.
Kristian Høgsberg [Wed, 26 Sep 2007 04:08:03 +0000]
Update TODO; prune a couple of obsolete items, add a new few new.

18 years agoSplit the property pool into three pools; requires, provides and packages.
Kristian Høgsberg [Thu, 20 Sep 2007 23:28:09 +0000]
Split the property pool into three pools; requires, provides and packages.

This simplifies the remapping code a lot and reduces memory pressure
during import a bit.

18 years agoImplement updating all packages.
Kristian Høgsberg [Thu, 20 Sep 2007 18:53:03 +0000]
Implement updating all packages.

18 years agoImplement the rest of package updating.
Kristian Høgsberg [Thu, 20 Sep 2007 18:21:28 +0000]
Implement the rest of package updating.

18 years agoAdd comment about how to implement package addition faster.
Kristian Høgsberg [Thu, 20 Sep 2007 03:24:57 +0000]
Add comment about how to implement package addition faster.

18 years agoImplement comparison of version strings and use where appropriate.
Kristian Høgsberg [Thu, 20 Sep 2007 03:02:31 +0000]
Implement comparison of version strings and use where appropriate.

18 years agoSort packages on version as second order criteria.
Kristian Høgsberg [Wed, 19 Sep 2007 21:23:53 +0000]
Sort packages on version as second order criteria.

18 years agoFirst bits of package set update algorithm.
Kristian Høgsberg [Wed, 19 Sep 2007 21:19:11 +0000]
First bits of package set update algorithm.

18 years agoMove string hash table buckets to importer object.
Kristian Høgsberg [Wed, 19 Sep 2007 19:50:36 +0000]
Move string hash table buckets to importer object.

18 years agoFix type-punning warnings.
Kristian Høgsberg [Wed, 19 Sep 2007 19:28:19 +0000]
Fix type-punning warnings.

18 years agoRefactor the import interface and make it opaque.
Kristian Høgsberg [Wed, 19 Sep 2007 19:26:25 +0000]
Refactor the import interface and make it opaque.

18 years agoFix swapping of map entries in __qsort_with_data.
Kristian Høgsberg [Wed, 19 Sep 2007 18:34:11 +0000]
Fix swapping of map entries in __qsort_with_data.

18 years agoAdd importer for system rpm database.
Kristian Høgsberg [Wed, 19 Sep 2007 18:09:03 +0000]
Add importer for system rpm database.

18 years agoSplit importers to import.c.
Kristian Høgsberg [Tue, 18 Sep 2007 19:02:04 +0000]
Split importers to import.c.

18 years agoAdd makefile rule to download and import yum data.
Kristian Høgsberg [Tue, 18 Sep 2007 18:14:34 +0000]
Add makefile rule to download and import yum data.

18 years agoMake qsort_with_data return a map and avoid import_package/property.
Kristian Høgsberg [Fri, 14 Sep 2007 17:22:44 +0000]
Make qsort_with_data return a map and avoid import_package/property.

18 years agoFix warning.
Kristian Høgsberg [Thu, 13 Sep 2007 14:54:13 +0000]
Fix warning.

18 years agoUse equality of string pool indices for string equality tests.
Kristian Høgsberg [Thu, 13 Sep 2007 14:51:39 +0000]
Use equality of string pool indices for string equality tests.

18 years agoAdd qsort_with_data that let's us pass user data to the compare callback.
Kristian Høgsberg [Thu, 13 Sep 2007 14:44:03 +0000]
Add qsort_with_data that let's us pass user data to the compare callback.

18 years agoImplement package set validation.
Kristian Høgsberg [Wed, 12 Sep 2007 10:53:36 +0000]
Implement package set validation.

18 years agoMake what-requires/provides support versioned queries.
Kristian Høgsberg [Wed, 12 Sep 2007 10:51:15 +0000]
Make what-requires/provides support versioned queries.

18 years agoClean up writing/reading package sets a bit.
Kristian Høgsberg [Wed, 12 Sep 2007 09:31:07 +0000]
Clean up writing/reading package sets a bit.

18 years agoImplement property (requires/provides) to package mapping.
Kristian Høgsberg [Tue, 11 Sep 2007 23:25:32 +0000]
Implement property (requires/provides) to package mapping.

18 years agoRefactor razor_set_write() a bit and stop writing the buckets section.
Kristian Høgsberg [Fri, 7 Sep 2007 18:15:42 +0000]
Refactor razor_set_write() a bit and stop writing the buckets section.

18 years agoUse bsearch instead of hash table when looking up packages.
Kristian Høgsberg [Fri, 7 Sep 2007 18:00:19 +0000]
Use bsearch instead of hash table when looking up packages.

18 years agoAdd import feature for yum primary.xml files.
Kristian Høgsberg [Fri, 7 Sep 2007 17:48:42 +0000]
Add import feature for yum primary.xml files.

18 years agoAdd a size field to the section headers to avoid sentinels.
Kristian Høgsberg [Fri, 7 Sep 2007 16:11:37 +0000]
Add a size field to the section headers to avoid sentinels.

18 years agoClean up import logic and make it independent of XML parsing.
Kristian Høgsberg [Fri, 7 Sep 2007 15:56:04 +0000]
Clean up import logic and make it independent of XML parsing.

18 years agoSort on version as second order key for provides and requires.
Kristian Høgsberg [Fri, 7 Sep 2007 04:09:18 +0000]
Sort on version as second order key for provides and requires.

18 years agoAlso extract requires and provides versions in import-rpm.sh
Kristian Høgsberg [Fri, 7 Sep 2007 04:08:43 +0000]
Also extract requires and provides versions in import-rpm.sh

18 years agoTrack the requires and provides per package.
Kristian Høgsberg [Fri, 7 Sep 2007 03:31:26 +0000]
Track the requires and provides per package.

18 years agoUniqueify requires and provides after import.
Kristian Høgsberg [Thu, 6 Sep 2007 21:01:01 +0000]
Uniqueify requires and provides after import.

18 years agoAlso import requires.
Kristian Høgsberg [Thu, 6 Sep 2007 19:11:49 +0000]
Also import requires.

Needs more work though, only 10% of requires are unique.

18 years agoTrack provides in the package set.
Kristian Høgsberg [Wed, 5 Sep 2007 04:32:09 +0000]
Track provides in the package set.

18 years agoFactor out array code.
Kristian Høgsberg [Wed, 5 Sep 2007 03:52:59 +0000]
Factor out array code.

18 years agoAdd idea for representing all files in a package set.
Kristian Høgsberg [Wed, 5 Sep 2007 03:51:06 +0000]
Add idea for representing all files in a package set.

18 years agoCleanup and renaming: hashtable and razor_context combined into razor_set.
Kristian Høgsberg [Tue, 4 Sep 2007 03:31:32 +0000]
Cleanup and renaming: hashtable and razor_context combined into razor_set.

It's no longer just a hashtable, it's really a set of packages.

18 years agoAdd a simple package list to the repo.
Kristian Høgsberg [Tue, 4 Sep 2007 03:13:19 +0000]
Add a simple package list to the repo.

18 years agoImprove import script to also pull version and release fields.
Kristian Høgsberg [Tue, 4 Sep 2007 03:10:25 +0000]
Improve import script to also pull version and release fields.

18 years agoAdd TODO and .gitignore.
Kristian Høgsberg [Mon, 3 Sep 2007 18:38:31 +0000]
Add TODO and .gitignore.

18 years agoInitial commit.
Kristian Høgsberg [Mon, 3 Sep 2007 18:36:59 +0000]
Initial commit.