Skip to content

Evaluating use of boost graph library in libstorage

License

Notifications You must be signed in to change notification settings

ancorgs/libstorage-ng

 
 

Repository files navigation

libstorage-ng

Build Status

libstorage-ng is the designated successor of libstorage, a C++ library used by YaST to perform most storage related tasks.

The main idea of libstorage-ng compared to libstorage is to keep all information about storage devices in a graph instead of lists. For more information have a look at the overview.

Requirements

Some required tools for compiling and testing libstorage-ng are:

gcc-c++ boost-devel libxml2-devel libtool doxygen graphviz python3-devel ruby ruby-devel rubygem-test-unit swig >= 3.0.3 and != 3.0.8 (from YaST:storage-ng)

In addition to the previous packages, add these distribution-specific packages as well.

For some openSUSE/SUSE distributions the naming of rubygem-test-unit might be the following:

ruby2.1-rubygem-test-unit

For Fedora:

rubypick

Compiling

make -f Makefile.repo
make -j$(nproc)

Running Unit Tests

make -j$(nproc) install DESTDIR=/tmp/scratch
make -j$(nproc) check LOCALEDIR=/tmp/scratch/usr/share/locale

Making an RPM

make -f Makefile.repo
make package
cd package
osc build --local-package --alternative-project=openSUSE:Factory

Creating Changes And Package And Submitting To OBS

Creating the changes file and tar archive are handled by jenkins using linuxrc-devtools.

You can generate a preview of the changes file by running

make changes

and create the tar.xz source archive by running

make archive

Package versions are tracked by setting version tags in git. The last version digit is auto-increased with every OBS commit.

The version can always be set manually by setting an appropriate tag in git.

Notes

  1. The VERSION file is auto-generated from the latest git tag.

  2. The spec file template libstorage-ng.spec.in is not used. Instead, the spec file from the OBS is used.

For a more detailed description about the handling of version numbers and changelog entries look here.

Code Documentation

xdg-open doc/autodocs/html/index.html

See especially the class hierarchy:

xdg-open doc/autodocs/html/inherits.html

About

Evaluating use of boost graph library in libstorage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.7%
  • Python 3.7%
  • Makefile 1.3%
  • Perl 1.2%
  • Ruby 0.5%
  • C 0.3%
  • Other 0.3%