Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-09-23 | Go back to having all info in one rzdb file.HEADmaster | Kristian Høgsberg | 4 | -216/+117 | |
We can still split the rzdb file into a main file and a file data and a details file, but that's only for optimizing the required download size. On the system we always combine the parts back into one rzdb file once downloaded. | |||||
2008-07-09 | Use strings to identify section types in the on-disk repo format. | James Bowes | 2 | -132/+115 | |
Previously, a given razor file type had a fixed number of sections in a fixed order, identified by an integer type. Now, sections are identified by a named string (stored in a string pool after the section lists). This will allow for razor files to contain arbitrary sections. For bonus points, also drop the 4k section alignment and change the magic byte string to "RZDB". | |||||
2008-07-08 | Convert main.c to use razor_root for most cases. | Kristian Høgsberg | 1 | -3/+41 | |
With this we change the default repo location to /var/lib/razor, but let the env variable RAZOR_ROOT override it. | |||||
2008-07-08 | Change the install iterator API to what we want. | Kristian Høgsberg | 2 | -40/+89 | |
2008-07-08 | Always open all three rzdb files when we're merging package sets. | Kristian Høgsberg | 1 | -1/+9 | |
2008-07-08 | Fix old typo in file merging code. | Kristian Høgsberg | 1 | -1/+1 | |
2008-07-08 | Use the file string pool when merging directories. | Kristian Høgsberg | 1 | -2/+2 | |
2008-07-02 | rename the .repo files to .rzdb files | Richard Hughes | 1 | -4/+4 | |
2008-07-01 | Document the razor_importer API. | Kristian Høgsberg | 2 | -26/+132 | |
2008-07-01 | Update docs for the RAZOR_DETAIL_LAST change. | Kristian Høgsberg | 2 | -2/+2 | |
2008-07-01 | convert the NULL sentinel to RAZOR_DETAIL_LAST | Richard Hughes | 4 | -28/+32 | |
2008-06-30 | Get rid of razor_set_get_package(). | Kristian Høgsberg | 2 | -29/+5 | |
This was always a silly little helper function, not general enough for real world applications. Use an iterator to search through the set to find the package of interest. | |||||
2008-06-30 | the vararg list must be terminated with zero else 64bit machines may crash | Richard Hughes | 4 | -19/+29 | |
On 64 bit systems, the integer 0 is 32 bits and the pointer 0 is 64 bits. The upper 32 bits will not be cleared and the loop will never terminate. Also add the RAZOR_SENTINEL __attribute__ ((__sentinel__(0))) on GCC4 so we catch where we get this wrong automatically. This also fixes the new search functionality from James which was missed in the merge. | |||||
2008-06-30 | trivial: razor_property_iterator_create() can have package NULL and be valid | Richard Hughes | 1 | -1/+0 | |
2008-06-30 | convert razor_package_get_details() and razor_package_iterator_next() to varargs | Richard Hughes | 5 | -55/+171 | |
The functions for getting package details about a package were limited to a few things, when in the future we will want to support much more about a package. The iterator was also limited to name,version,arch when most of the time we didn't need all this data. | |||||
2008-06-29 | protect all exported functions by checking the input parameters for NULL input | Richard Hughes | 5 | -0/+115 | |
2008-06-29 | add missing licencing information at the top of each source file | Richard Hughes | 4 | -0/+76 | |
The licence text is needed when razor is packaged for Debian. :-) | |||||
2008-06-28 | Merge commit 'fdo/master' | Kristian Høgsberg | 1 | -4/+8 | |
2008-06-26 | get rpm -qpi working fully | James Bowes | 1 | -1/+9 | |
2008-06-26 | Add return codes to razor_set_open_files and open_details | James Bowes | 2 | -8/+12 | |
2008-06-26 | Add missing newline for conflicts output | James Bowes | 1 | -1/+2 | |
2008-06-26 | include stdint.h in razor.h to fix an error | Richard Hughes | 1 | -0/+2 | |
This fixes the error: /usr/include/razor/razor.h:161: error: expected declaration specifiers or '...' before 'uint32_t' | |||||
2008-06-25 | Get the test driver compiling and running again (but not passing). | James Bowes | 2 | -2/+4 | |
2008-06-25 | Allow NULL pointers in razor_package_get_details(). | Richard Hughes | 1 | -4/+8 | |
2008-06-25 | Also don't explode when a given path doesn't exist. | Kristian Høgsberg | 1 | -1/+1 | |
2008-06-25 | Don't explode when listing files. | Richard Hughes | 1 | -0/+3 | |
2008-06-23 | Create an empty package iterator when we don't know about the given file. | James Bowes | 1 | -1/+8 | |
This is an easy way to stop segfaults when trying to destroy iterators for unknown files. | |||||
2008-06-23 | Implement rpm --query --file | James Bowes | 1 | -0/+9 | |
2008-06-23 | Make file listing (either per-repo or per-package) use the correct string pool | James Bowes | 1 | -2/+2 | |
2008-06-23 | Save all 3 repo files on razor_root_create | James Bowes | 1 | -2/+11 | |
2008-06-23 | Nuke ARRAY_SIZE and obsolete razor_set_list_unsatisfied from razor.h. | Kristian Høgsberg | 2 | -6/+2 | |
2008-06-23 | Move a couple of unrelated functions out of transaction.c. | Kristian Høgsberg | 2 | -41/+41 | |
2008-06-23 | Use GCC 4 -fvisibility to control exported symbols. | Kristian Høgsberg | 7 | -62/+72 | |
2008-06-23 | Merge commit 'krh/master' | James Bowes | 1 | -1/+1 | |
2008-06-23 | Actually store the files strings in the files string pool | James Bowes | 2 | -3/+6 | |
2008-06-23 | Compare the right index against pq->count. | Kristian Høgsberg | 1 | -1/+1 | |
Fix a little logic error there. | |||||
2008-06-23 | Set up gtkdoc for razor. | Kristian Høgsberg | 2 | -26/+105 | |
Despite its name, gtkdoc doesn't require gtk+ and is a nice way to generate DocBook format API documentation. | |||||
2008-06-23 | Merge commit 'jbowes/master' | Kristian Høgsberg | 6 | -29/+210 | |
2008-06-20 | When uniquifying properties, also sort them on the owning package. | Kristian Høgsberg | 2 | -2/+6 | |
This ensures that whenever two packages provide or (or require, obsolete or conflict) the same property, they appear in the same order in the propertys list of packages. | |||||
2008-06-20 | Call exit() instead of just returning if child fails. | Kristian Høgsberg | 1 | -3/+3 | |
2008-06-20 | Introduce install/remove iterators. | Kristian Høgsberg | 2 | -0/+58 | |
These iterator constructors lets you pass in two sets and creates an iterator for the packages to remove or the packages to install. The iterators will step through the packages in a sequence that respects the pre, post, preun and postun modifiers. Right now, the install order isn't actually implemented, this patch just implements the API changes and updates the applications. | |||||
2008-06-20 | Fix the razor_set_diff() callback prototype. | Kristian Høgsberg | 2 | -10/+19 | |
The old proto type didn't let us pass the razor_package. | |||||
2008-06-20 | Fix package queries for empty sets. | Kristian Høgsberg | 1 | -4/+7 | |
2008-06-20 | Merge branch 'krh/master' | James Bowes | 13 | -0/+4658 | |
Conflicts: librazor/razor.h librazor/rpm.c razor.c src/main.c | |||||
2008-06-20 | Add getter to return system set for a razor_root. | Kristian Høgsberg | 2 | -34/+22 | |
2008-06-20 | Rename razor_importer_new to _create to follow convention. | Kristian Høgsberg | 2 | -2/+2 | |
2008-06-20 | Break up the monolithic razor.c. | Kristian Høgsberg | 11 | -2253/+2367 | |
2008-06-20 | Record the time of dependencies (post, pre, postun, preun). | Kristian Høgsberg | 3 | -135/+183 | |
2008-06-19 | Handle NULL dirnames when importing rpms into a set. | Kristian Høgsberg | 1 | -1/+5 | |
2008-06-16 | Don't fail to update if there is not older package found. | Kristian Høgsberg | 1 | -4/+4 | |