Permalink
Commits on May 25, 2017
  1. Merge pull request #398 from kazuhisya/shepherd-move-to-option

    Makefile: shepherd is only build if it is explicitly enabled
    mitake committed on GitHub May 25, 2017
Commits on May 24, 2017
  1. Makefile: shepherd is only build if it is explicitly enabled

    Makefile:
        This change provides shepherd cluster daemon will only build
        if it is explicitly enabled("--enable-shepherd").
    
    rpm:
        Now it can choose to install shepherd binary file synchronously
        with configure options.
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed May 23, 2017
Commits on May 22, 2017
  1. Merge pull request #396 from kazuhisya/test-centos

    tests: added support for testing with CentOS 7.x
    mitake committed on GitHub May 22, 2017
Commits on May 21, 2017
  1. tests: fix functional 114 to take into account the block of SELinux.

    If SELinux is not disabled (enforcing or permissive), functional test
    No.114 will fail.
    This is because, a single block for SELinux's attribute is added to
    the '%b * %B' of stat command output, so the output result is different
    from the SELinux disabled environment.
    
    This change provides, it will take into account the block of SELinux.
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed May 18, 2017
Commits on May 18, 2017
  1. tests: added support for testing with CentOS 7.x

    This change provides support for the testing scripts with CentOS 7.x
    
    It has the following features:
        - Modify the commands path depending on distributions
        - Modify the package to be prepared depending on distributions
        - Use qemu-io (is enabled sheepdog) prepared by CentOS Virt-SIG
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed May 18, 2017
  2. Merge pull request #393 from kazuhisya/script-checkpatch-regex

    script: fix "Unescaped left brace in regex is deprecated" warnings.
    mitake committed on GitHub May 18, 2017
  3. Merge pull request #394 from kazuhisya/add-corosync-buildrequires

    rpm: add rpm BuildRequires for corosync
    mitake committed on GitHub May 18, 2017
  4. Merge pull request #388 from scop/completion

    bash completion fixes
    mitake committed on GitHub May 18, 2017
Commits on May 14, 2017
  1. rpm: add rpm BuildRequires for corosync

    In order to compile sheep binary with corosync enabled,
    cpg.h and cfg.h are required additionally.
    
    https://github.com/sheepdog/sheepdog/blob/master/sheep/cluster/corosync.c#L14-L15
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed May 14, 2017
Commits on May 13, 2017
  1. script: fix "Unescaped left brace in regex is deprecated" warnings.

    checkpatch uses perl regex which do not escape curly braces.
    In Perl 5.22 or higher, unescaped left curly braces in a regex are
    deprecated and will outputted a warning. and this will be an error
    rather than a warning in future versions (maybe 5.26?).
    This change provides suppress above problem.
    
    See also: http://perldoc.perl.org/perl5220delta.html#New-Warnings
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed May 13, 2017
Commits on May 12, 2017
  1. Merge pull request #391 from kazuhisya/show-features

    sheep: display features in the "-v" option.
    mitake committed on GitHub May 12, 2017
  2. Merge pull request #390 from kazuhisya/add-template-to-sysconfig

    script: add a default template to sysconfig
    mitake committed on GitHub May 12, 2017
Commits on May 3, 2017
  1. sheep: display features in the "-v" option.

    This change provides displays supported cluster drivers and features
    in "-v" option.
    
    e.g.
        # sheep -v
        Sheepdog daemon version 1.0_126_g929d401_dirty
    
        Supported features:
        	Cluster drivers: zookeeper corosync local
        	Miscellaneous: http diskvnodes nfs trace
    
    Similarly, if the cluster driver option is wrong it will also display
    the supported cluster drivers. this is continue to avail.
    
    e.g.
        # sheep -c hoge
        Invalid cluster driver 'hoge'
    
        Supported features:
        	Cluster drivers: zookeeper corosync local
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed May 3, 2017
Commits on Apr 26, 2017
  1. script: add a default template to sysconfig

    Put the template in sysconfig. This make it easier maintaining sheepdog
    service settings.
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed Apr 26, 2017
Commits on Apr 25, 2017
  1. Merge pull request #389 from sheepdog/max-reclaim

    dog: a new option -m for specifying the maximum number of reclamation
    mitake committed on GitHub Apr 25, 2017
  2. dog: a new option -m for specifying the maximum number of reclamation

    Reclamation of objects is a heavy operation and it needs careful
    control. The new option -m can be used for stopping reclamation if
    objects of a specified number are reclaimed.
    
    Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
    mitake committed Apr 25, 2017
  3. Merge pull request #387 from scop/spelling

    doc, script, zookeeper: Spelling fixes
    mitake committed on GitHub Apr 25, 2017
Commits on Apr 24, 2017
  1. script: Convert hyphens to underscores in bash completion function names

    Hyphens are invalid in POSIX mode:
    
    $ bash --posix
    $ _dog_foo-bar() { echo hello; }
    bash: `_dog_foo-bar': not a valid identifier
    
    Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
    scop committed Apr 24, 2017
  2. doc, script, zookeeper: Spelling fixes

    Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
    scop committed Apr 24, 2017
  3. script: Sort command and option lists in bash completion

    In order to keep the output stabler between various runs.
    
    Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
    scop committed Apr 24, 2017
Commits on Apr 14, 2017
  1. Merge pull request #385 from sheepdog/fix-381

    lib: fix a typo
    mitake committed on GitHub Apr 14, 2017
Commits on Apr 13, 2017
  1. lib: fix a typo

    Fix #381
    
    Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
    mitake committed Apr 13, 2017
Commits on Apr 6, 2017
  1. Merge pull request #378 from kazuhisya/rpm-subpackage-separation-374

    (refs#374) rpm: sub-package separation
    mitake committed on GitHub Apr 6, 2017
  2. Merge pull request #376 from kazuhisya/script-and-main-makefile

    script, Makefile: fix of permission and shebang
    mitake committed on GitHub Apr 6, 2017
Commits on Mar 15, 2017
  1. rpm: separate zookeeper, corosync as subpackages

    Separate sheep with zookeeper and sheep with corosync from the main rpm
    package of sheepdog.
    With this change rpm package will be the following list.
    
    sheepdog           : The Sheepdog Distributed Storage System for QEMU
    sheepdog-libs      : Shared libraries for Sheepdog
    sheepdog-devel     : Header files for Sheepdog
    sheepdog-corosync  : Corosync cluster driver for Sheepdog
    sheepdog-zookeeper : ZooKeeper cluster driver for Sheepdog
    sheepdog-sheepfs   : FUSE-based pseudo file system for Sheepdog
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed Mar 12, 2017
Commits on Mar 13, 2017
  1. rpm: separate libs, devel, sheepfs as subpackages

    Separate libs, devel, sheepfs from the main rpm package of sheepdog.
    People who dont want to use sheepfs just install sheepdog.rpm.
    On the other hand, people who want to use sheepfs(fuse) install
    sheepdog-sheepfs.rpm additionally.
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed Mar 11, 2017
Commits on Mar 11, 2017
  1. rpm: collie links are created in install section.

    Create the collie command in %install rather than %post (and %preun).
    By doing this, it is registered as a %files, so it is more safety since
    it does not use preun at uninstallation or update.
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed Mar 11, 2017
  2. script: remove shebang from bash_completion

    It is better not to write shebang in the bash_completion file. this is
    meant to be sourced, not executed. So, it was fixed as a simple comment.
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed Mar 11, 2017
  3. Makefile: fix .spec file owner permission

    .spec file created by make rpm should have owner write permission.
    
    Signed-off-by: Kazuhisa Hara <khara@sios.com>
    kazuhisya committed Mar 11, 2017
Commits on Mar 10, 2017
  1. Merge pull request #375 from ikedaj/build-disable-corosync-2

    rpm: fix handling corosync dependency
    tmenjo committed on GitHub Mar 10, 2017
Commits on Mar 7, 2017
  1. rpm: fix handling corosync dependency

    This patch is complement to pull request #373.
    ikedaj committed Mar 7, 2017
  2. Merge pull request #373 from ikedaj/build-disable-corosync

    rpm: build --disable-corosync
    mitake committed on GitHub Mar 7, 2017
Commits on Mar 6, 2017
  1. rpm: build --disable-corosync

    ikedaj committed Mar 6, 2017
Commits on Feb 28, 2017
  1. rpm: fix "configure: WARNING: invalid host type"

    This commit fixes the above warning when "make rpm". This happens
    if you ./configure without --enable-zookeeper or --enable-sheepfs
    before "make rpm". This is because %{fuse_configure_args} and/or
    %{zookeeper_configure_args} are not expanded at configure step
    during "make rpm".
    
    Now I set each of them to %{nil} as default if the corresponding
    ./configure option was not given.
    
    Signed-off-by: Takashi Menjo <menjo.takashi@lab.ntt.co.jp>
    tmenjo committed Feb 28, 2017