Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Devscripts::Salsa

Name Devscripts::Salsa
Version
Located at /usr/share/perl5
File /usr/share/perl5/Devscripts/Salsa.pm
Is Core No
Search CPAN for this module Devscripts::Salsa
Documentation Devscripts::Salsa
Module Details Devscripts::Salsa

NAME

Devscripts::Salsa - salsa(1) base object


SYNOPSIS

  use Devscripts::Salsa;
  exit Devscripts::Salsa->new->run


DESCRIPTION

Devscripts::Salsa provides salsa(1) command launcher and some common utilities methods.


ACCESSORS

config : Devscripts::Salsa::Config object (parsed)
cache : Devscripts::JSONCache object
api: GitLab::API::v4 object
User or group in use
username
user_id
group_id
group_path


METHODS

run: main method, load and run command and return Unix result code.

Utilities

levels_name, levels_code: convert strings to GitLab level codes (owner, maintainer, developer, reporter and guest)
username2id, id2username: convert username to an id an reverse
group2id: convert group name to id
project2id: get id of a project.
project2path: get full path of a project
main_path: build path using given group or user


AUTHOR

Xavier Guimard <yadd@debian.org>


COPYRIGHT AND LICENSE

Copyright 2018, Xavier Guimard <yadd@debian.org>

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026