Skip to content

Releases: AOSC-Dev/oma-apt

v0.1.2

18 Aug 03:50
Compare
Choose a tag to compare

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.1.1

18 Aug 03:36
Compare
Choose a tag to compare

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 rust-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

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

Commit Details

view details
  • #1
  • Uncategorized
    • Rename all rust-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)
    • Remove dev debug print (358b89a)
    • 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)
    • 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 binding...
Read more