Skip to content

Latest commit

 

History

History
750 lines (614 loc) · 52.7 KB

CHANGELOG.md

File metadata and controls

750 lines (614 loc) · 52.7 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

v0.1.2 (2023-08-18)

Bug Fixes

  • Lifetimes for version methods

Commit Statistics

  • 1 commit contributed to the release.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Lifetimes for version methods (3b72021)

v0.5.1 (2023-02-14)

Commit Statistics

  • 1 commit contributed to the release.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized

v0.4.1 (2022-09-01)

Documentation

  • Deploy rust documentation on all commits and MRs
  • Fix error in example

New Features

  • Add cache modification functionality
  • Add version origin accessors
  • Get parent package from version
  • Add bindings for version comparisons
  • Add method for package name without arch

Bug Fixes

  • Typo in comment

Other

  • Release version 0.4.1 This release also removes its ties with apt-pkg-native-rs as none of the code is from the original project
  • Remove dev.py script in favor of justfile
  • Add ci configuration

Refactor

  • Split raw bindings into submodules
  • Move utils into util.rs
  • Send owned string across cxx barrier

Commit Statistics

  • 15 commits contributed to the release over the course of 46 calendar days.
  • 61 days passed between releases.
  • 14 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release version 0.4.1 (4fccf1b)
    • Add cache modification functionality (1ddec8c)
    • Typo in comment (98e7092)
    • Deploy rust documentation on all commits and MRs (deb30c6)
    • Add version origin accessors (64e2ccb)
    • Split raw bindings into submodules (9a4e259)
    • Remove dev.py script in favor of justfile (594ff85)
    • Get parent package from version (8db639a)
    • Move utils into util.rs (f40f4d2)
    • Send owned string across cxx barrier (68694c1)
    • Add bindings for version comparisons (60f9341)
    • Some tests were also updated during this, along with the dev script. (52791ee)
    • Add ci configuration (df10293)
    • Fix error in example (a4cf64d)
    • Add method for package name without arch (15d83bb)

v0.3.0 (2022-07-01)

Documentation

  • Fix wrong comment in tests

New Features

  • Add bindings to apt's configuration
  • Add support for updating the package list
  • Add new sorting methods
  • Add new methods for cache information

Bug Fixes

  • Pkg list returns only virtual packages instead of including them with real pkgs
  • Wrong integer types from some functions

Other

  • Bump version for release
  • Add dev.py to improve workflow
  • Greatly improve crate tests

Performance

  • Add bool to skip the pkgDepCache for `is_upgradable``

Refactor

  • Remove unnecessary clippy config
  • Improve unit_str
  • Add TB to unit_str

Commit Statistics

  • 14 commits contributed to the release over the course of 7 calendar days.
  • 8 days passed between releases.
  • 14 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details

v0.2.0 (2022-06-23)

Chore

  • Add vscode typing helper for c++ files

Documentation

  • Update readme
  • Add documentation to methods

New Features

  • Allow sorting the packages by name with PackageSort
  • Add initial support for getting dependencies
  • Add provides method to the cache
  • Add more depcache state checks
  • Add ability to get source uris
  • Add is_installed method to package
  • Add ability to get package hashes
  • Allow PackageSort to be 'built'
  • Add more fields to the package object
  • Add more version fields pkgname, size, installed_size, downloadable, id
  • Add summary and description for versions

Other

  • Bump version for release
  • Convert VerIterators into VersionPtr

Performance

  • Sort packages before crossing the barrier
  • Separate depcache into new struct

Refactor

  • Clean up c++ code
  • Change PackageSort methods to set true
  • Format c++
  • Organize functions and update docs
  • Change fields to methods
  • Remove compile commands as it's env dependent
  • Clean and format code
  • Convert cache to unique_ptr
  • Change depends to use shared_ptr
  • Convert Records and PackageFile into UniquePtr
  • Convert PkgIterator into PackagePtr
  • Remove ver_release
  • Use unique_ptr for version pointer
  • Change find_name to use String
  • Split Package and Version object into separate file
  • Change chars to rust::string
  • Simplify the code for the get method
  • Use vector for sorted instead of BTreeMap
  • Build pkg pointer iterator on the fly
  • Convert package getters into iterators
  • Make uri method an iterator
  • Change get_uris to just uris
  • Change variable names
  • Store last lookup to prevent unnecessary lookups
  • New rustfmt.toml

Commit Statistics

  • 43 commits contributed to the release over the course of 44 calendar days.
  • 47 days passed between releases.
  • 43 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Bump version for release (75f9471)
    • Update readme (037ada8)
    • Clean up c++ code (268b7e6)
    • Change PackageSort methods to set true (20c9330)
    • Allow sorting the packages by name with PackageSort (1207611)
    • Sort packages before crossing the barrier (9cd6d06)
    • Format c++ (94de3cb)
    • Organize functions and update docs (d30735b)
    • Change fields to methods (d4779b8)
    • Remove compile commands as it's env dependent (641d8be)
    • Clean and format code (d58ed08)
    • Convert cache to unique_ptr (963b080)
    • Change depends to use shared_ptr (9fd24dc)
    • Convert Records and PackageFile into UniquePtr (7101eb0)
    • Convert PkgIterator into PackagePtr (a2de4ea)
    • Remove ver_release (6ad07fd)
    • Use unique_ptr for version pointer (080c566)
    • Convert VerIterators into VersionPtr (0e55dfa)
    • Add initial support for getting dependencies (ce80510)
    • Add vscode typing helper for c++ files (ccf3dcb)
    • Add provides method to the cache (e6e889f)
    • Change find_name to use String (66b553b)
    • Split Package and Version object into separate file (92d947c)
    • Add more depcache state checks (2b2a8d0)
    • Change chars to rust::string (8df9d5f)
    • Separate depcache into new struct (b16ee9a)
    • Add ability to get source uris (8e223cd)
    • Add is_installed method to package (c47f4a2)
    • Simplify the code for the get method (d525b4f)
    • Use vector for sorted instead of BTreeMap (7dd8560)
    • Build pkg pointer iterator on the fly (81f5174)
    • Convert package getters into iterators (68ad295)
    • Add documentation to methods (ef3fbc2)
    • Make uri method an iterator (8cfc62e)
    • Add ability to get package hashes (68f261c)
    • Change get_uris to just uris (66a2eb1)
    • Allow PackageSort to be 'built' (334dfcb)
    • Add more fields to the package object (d616a36)
    • Change variable names (6b8a9a4)
    • Store last lookup to prevent unnecessary lookups (c930a72)
    • New rustfmt.toml (59b1144)
    • Add more version fields (cd310e0)
    • Add summary and description for versions (fcd4f97)

v0.5.0 (2023-02-14)

New Features

  • Allow globbing of packages
  • Add support for installing local '.deb' files
  • Ability to parse files in DEB822 format
  • Add info accessor for pkg records

Bug Fixes

  • Remove test print
  • Performance regression from DepCache init
  • Invalid memory reference inserting non deb files into the cache

Other

  • Speed up with cache

Commit Statistics

  • 19 commits contributed to the release over the course of 158 calendar days.
  • 165 days passed between releases.
  • 8 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release 0.5.0 (12db48d)
    • Allow Packages and Versions to be put in a hashmap (6a8146e)
    • Add higher level struct for Provides (dc09d71)
    • Fix candidate returning wrong version after set_candidate (5246a09)
    • Change full_name => fullname (f05f916)
    • Fix version list of virtual packages causing panic (b983950)
    • Clippy changes (9632a55)
    • Major Restructure (087ea68)
    • Fix issue with resolving '.deb' packages (2f1633d)
    • Fix incorrect filename in 'build.rs' (d782cb0)
    • Remove test print (8dd5061)
    • Performance regression from DepCache init (7f9c958)
    • Allow globbing of packages (119ded0)
    • Ensure a blank string isn't passed in to TagSection instances (7750594)
    • Invalid memory reference inserting non deb files into the cache (3b7f86d)
    • Speed up with cache (a26f811)
    • Add support for installing local '.deb' files (430c5aa)
    • Ability to parse files in DEB822 format (81216c9)
    • Add info accessor for pkg records (cda4df8)

v0.1.1 (2023-08-18)

Chore

  • Set version as 0.1.0
  • Set name as oma-apt
  • Add vscode typing helper for c++ files
  • Clippy: unused import
  • Cripple some examples on ye-old-apt
  • Format
  • Dev itertools -> 0.9
  • Bump travis

Chore

  • Rename all oma-apt to oma-apt to fix build
  • Add changelog

Documentation

  • Update README.md
  • Deploy rust documentation on all commits and MRs
  • Fix error in example
  • Fix wrong comment in tests
  • Update readme
  • Add documentation to methods

New Features

  • Implement bindings for action groups
  • Add 'rdepends_map' method to package struct
  • Add fix_broken method on the cache.
  • Allow globbing of packages
  • Add support for installing local '.deb' files
  • Ability to parse files in DEB822 format
  • Add info accessor for pkg records
  • Add cache modification functionality
  • Add version origin accessors
  • Get parent package from version
  • Add bindings for version comparisons
  • Add method for package name without arch
  • Add bindings to apt's configuration
  • Add support for updating the package list
  • Add new sorting methods
  • Add new methods for cache information
  • Allow sorting the packages by name with PackageSort
  • Add initial support for getting dependencies
  • Add provides method to the cache
  • Add more depcache state checks
  • Add ability to get source uris
  • Add is_installed method to package
  • Add ability to get package hashes
  • Allow PackageSort to be 'built'
  • Add more fields to the package object
  • Add more version fields pkgname, size, installed_size, downloadable, id
  • Add summary and description for versions
  • Add is_installed on the version

Bug Fixes

  • Not copying packages into archive
  • Segfault when a package list is corrupt
  • Redepends not returning the parent's version.
  • Missing import for terminal size
  • Replace termsize with terminal_size
  • Panic when generating depends for a package that has none
  • Remove test print
  • Performance regression from DepCache init
  • Invalid memory reference inserting non deb files into the cache
  • Typo in comment
  • Pkg list returns only virtual packages instead of including them with real pkgs
  • Wrong integer types from some functions
  • Several memory leaks
  • Give version structs their own pointer.
  • Missing header(?) This seems to be required on 20.04.
  • Extra headers required on newer apt

Other

  • Derive debug on Config struct
  • Speed up with cache
  • Release version 0.4.1 This release also removes its ties with apt-pkg-native-rs as none of the code is from the original project
  • Remove dev.py script in favor of justfile
  • Add ci configuration
  • Bump version for release
  • Add dev.py to improve workflow
  • Greatly improve crate tests
  • Bump version for release
  • Convert VerIterators into VersionPtr
  • Add simple test
  • Work around rust-lang/rust#57018
  • Bump to xenial
  • Support building with very old apt
  • Version exposed
  • Fixed iterators, "origin"-like concept exposed

Performance

  • Add bool to skip the pkgDepCache for `is_upgradable``
  • Sort packages before crossing the barrier
  • Separate depcache into new struct

Refactor

  • Split raw bindings into submodules
  • Move utils into util.rs
  • Send owned string across cxx barrier
  • Remove unnecessary clippy config
  • Improve unit_str
  • Add TB to unit_str
  • Clean up c++ code
  • Change PackageSort methods to set true
  • Format c++
  • Organize functions and update docs
  • Change fields to methods
  • Remove compile commands as it's env dependent
  • Clean and format code
  • Convert cache to unique_ptr
  • Change depends to use shared_ptr
  • Convert Records and PackageFile into UniquePtr
  • Convert PkgIterator into PackagePtr
  • Remove ver_release
  • Use unique_ptr for version pointer
  • Change find_name to use String
  • Split Package and Version object into separate file
  • Change chars to rust::string
  • Simplify the code for the get method
  • Use vector for sorted instead of BTreeMap
  • Build pkg pointer iterator on the fly
  • Convert package getters into iterators
  • Make uri method an iterator
  • Change get_uris to just uris
  • Change variable names
  • Store last lookup to prevent unnecessary lookups
  • New rustfmt.toml
  • Change indentation to the superior tab
  • Comment unused functions
  • Satisfy clippy and organize code
  • Use Rc<RefCell> for the records struct.
  • Rename types and use C++ Opaque Types

Commit Statistics

  • 16 commits contributed to the release over the course of 179 calendar days.
  • 184 days passed between releases.
  • 15 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Release oma-apt v0.1.1 (f6eb3d3)
    • Rename all oma-apt to oma-apt to fix build (1911497)
    • Add changelog (7abc1f0)
    • Set version as 0.1.0 (b617647)
    • Set name as oma-apt (ed56e40)
    • Not copying packages into archive (daafbb9)
    • Implement bindings for action groups (916e6f4)
    • Segfault when a package list is corrupt (481f4e2)
    • Redepends not returning the parent's version. (15e6df8)
    • Missing import for terminal size (c6d099c)
    • Replace termsize with terminal_size (9ec3d8e)
    • Derive debug on Config struct (496511a)
    • Add 'rdepends_map' method to package struct (6de58a3)
    • Add fix_broken method on the cache. (51ac3ea)
    • Update README.md (e63f807)
    • Panic when generating depends for a package that has none (1aa839d)

v0.1.0 (2022-05-06)

Chore

  • Clippy: unused import
  • Cripple some examples on ye-old-apt
  • Format
  • Dev itertools -> 0.9
  • Bump travis

New Features

  • Add is_installed on the version

Bug Fixes

  • Several memory leaks
  • Give version structs their own pointer.
  • Missing header(?) This seems to be required on 20.04.
  • Extra headers required on newer apt

Other

  • Add simple test
  • Work around rust-lang/rust#57018
  • Bump to xenial
  • Support building with very old apt
  • Version exposed
  • Fixed iterators, "origin"-like concept exposed

Refactor

  • Change indentation to the superior tab
  • Comment unused functions
  • Satisfy clippy and organize code
  • Use Rc<RefCell> for the records struct.
  • Rename types and use C++ Opaque Types

Commit Statistics

  • 89 commits contributed to the release over the course of 1759 calendar days.
  • 21 commits were understood as conventional.
  • 1 unique issue was worked on: #1

Commit Details

view details
  • #1
  • Uncategorized
    • Change indentation to the superior tab (7103b4e)
    • Comment unused functions (8496109)
    • Add is_installed on the version (7f30d9b)
    • Satisfy clippy and organize code (5ca9a50)
    • Add simple test (6dbe4f7)
    • Use Rc<RefCell> for the records struct. (663ae5e)
    • Several memory leaks (c890491)
    • Give version structs their own pointer. (dfacd8e)
    • Rename types and use C++ Opaque Types (1ed41ae)
    • Initial fork and update to oma-apt (8834d20)
    • Clippy: unused import (a027786)
    • Cripple some examples on ye-old-apt (a603237)
    • Missing header(?) (99fba90)
    • Format (a5b8ede)
    • Bump version to 0.3.2 (e073fe8)
    • Add DepIterator to list dependencies of package versions (edc7008)
    • Expose 'sane' interface to external consumers (7b2d146)
    • Add package detail accessors (07c92f0)
    • Add priority type accessor to VerView (1018536)
    • Use correct raw type in PkgFileIterator (f28cd3e)
    • Dev itertools -> 0.9 (52213cd)
    • Bump travis (6d16f09)
    • Extra headers required on newer apt (ecd6090)
    • Work around rust-lang/rust#57018 (3d66d10)
    • Bump to xenial (f8c52cb)
    • Edition = 2018 (dac9411)
    • Minor lie in the readme (be7b547)
    • Bump dev dependency / fmt (7f180bc)
    • Upgrade gcc crate to cc (46ad5e2)
    • New rustfmt (2f2167c)
    • Test environment for building on trusty in docker (1d2364d)
    • Support building with very old apt (46aa9ed)
    • Update lazy-static to 1 (7a55e26)
    • Add a note about singleton breakage (3b7065e)
    • Remove empty test (c4e7590)
    • PhantomData cares about the MutexGuard, not the Cache (45741e2)
    • Comments / unwrap->expect (e6f0bd8)
    • Cache actually carries around a mutex (9ee8a3c)
    • New rustfmt (e1cf0fa)
    • Less specific version declarations (477038c)
    • Example of running on docker (6b2bd29)
    • Some extra iterator utilities (370a764)
    • Thread safety note (db3be1e)
    • Upgrade (0aa1d73)
    • Try and convince travis to run in fast mode (8fd3d14)
    • Cargo upgrade + fix deprecation warning (6bf783c)
    • Version exposed (d13db34)
    • Source-listing example sorts by version (f8d5c53)
    • Fmt (77918dc)
    • Expose version comparison (81b66ce)
    • Fixed iterators, "origin"-like concept exposed (3314733)
    • Clippy (b1bb2ef)
    • Remove last warning with phantomdata (16aa763)
    • Spello (6641457)
    • A port of list_source_packages.py, minus the cachedir changing (b2fc665)
    • Fmt (25c1de2)
    • A whole load of origin information may be absent; afaics only for /var/lib/dpkg/status? (c7b6207)
    • Surface a whole load more 'origin' information (e5a01ac)
    • Fmt (4ced3f9)
    • Some fiddling with the display (d935fa5)
    • Impl Display; remove prettyprint for compat; fix section (457c31b)
    • Thinking about other iterator things to add (d194842)
    • Fixup borrows on nasty iterators (0018889)
    • Ask the 'gcc' crate to do more work, travis? (d4d85c2)
    • Travis' ubuntu is too old for c++0x, upgrade to trusty? (05aa328)
    • Install deps on travis (f277bb2)
    • Fix module tests and write demonstration for the failure (cbc0f62)
    • Fmt (6cde4ee)
    • Unify the Iterator implementations (d4dfd0f)
    • Docs / crates.io stuff (8f5bc80)
    • Cargo fmt (f4e4724)
    • Clippy (6b164f1)
    • Fix warning with PhantomData (06a3c49)
    • Expose priority (70812eb)
    • Fix iterators with hack; fleshing out policy (67c2146)
    • Versions; map misses the first item (d107ef3)
    • Example listing (6acf62c)
    • Switch to gcc build script (eaf79f4)
    • Rename (0126dd5)
    • Give in and lazy_singleton the cache (aa46a93)
    • Find package by name (a394c4d)
    • Maybe expose some more things (c4655a5)
    • Try and stop reinit segfaulting; doesn't really work (7562f18)
    • More natural interface; no idea why it needs that annotation (e90ee73)
    • Expose the iterator directly (e3f5bd3)
    • This callback is dumb (4225e76)
    • List packages (after manual make) (da91ba6)
    • Bindgen isn't even close to working; std::string is hard (39d8438)