repocop-workdir-lock(1)

REPOCOP-WORKDIR-LOCK(1) User Contributed Perl Documentation REPOCOP-WORKDIR-LOCK(1)

NAME

repocop-cachedir-lock - locks repocop workdir directory.

SYNOPSIS

repocop-cachedir-lock [-l|--lock ] [-u|--unlock ] [--is-locked-by-us|--is-locked-by-others] [-h|--help] [-v|--verbose] [-q|--quiet] [--workdir workdir] PID

DESCRIPTION

repocop-cachedir-lock locks repocop workdir directory. It should be run inside of a repocop wrapper script with pid PID.

OPTIONS

-l,--lock
Lock
-u,--unlock
Unlock
--is-locked-by-us
Query about existing lock. Returns true if it is locked by PID or its parent. Return false ottherwise.
--is-locked-by-others
Query about existing lock. Returns true if is locked by a live process not related to PID. Return false ottherwise.
--workdir dir
Provides alternative location for the Repocop workdir. Repocop workdir is a place where test results and packages metadata information are stored. Default is ~/.repocop.
-h, --help
Display this help and exit.
-v, --verbose, -q, --quiet
Verbosity level. Multiple -v increase the verbosity level, -q sets it to 0.

AUTHOR

Written by Igor Vlasenko <viy@altlinux.org>.

ACKNOWLEGEMENTS

To Alexey Torbin <at@altlinux.org>, whose qa-robot package had a strong influence on repocop.

COPYING

Copyright (c) 2008-2022 Igor Vlasenko, ALT Linux Team.

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

2022-09-15 perl v5.34.0