Alien::...:GitLab(3)

πŸ“¦
version 0.01 Β· 5 versions
, in opensuse-leap 16.0

🌸 NAME 🌸

Okay bestie, welcome to the Alien::...:GitLab(3) page from User Contributed Perl Documentation. The module is Alien::Build::Plugin::Download::GitLab β€” literally an Alien::Build plugin to download from GitLab. ✨

πŸ’– VERSION πŸ’–

version 0.01 β€” tiny version number, main character energy. πŸ‘‘

πŸ¦‹ SYNOPSIS πŸ¦‹

Use it in your alienfile like this, no cap:

use alienfile;

plugin 'Download::GitLab' => (
  gitlab_user    => 'plicease',
  gitlab_project => 'dontpanic',
);

πŸ”₯ DESCRIPTION πŸ”₯

This plugin is designed for downloading assets from a GitLab instance. It's giving "I fetch assets so you don't have to." πŸ’…

πŸŽ€ PROPERTIES πŸŽ€

🌈 gitlab_host 🌈

The host to fetch from. The default is https://gitlab.com. 🫢

🌸 gitlab_user 🌸

The user to fetch from. Drop that username in here. πŸ‘€

πŸ¦‹ gitlab_project πŸ¦‹

The project to fetch from. Yes, the project name goes here. 🎯

✨ type ✨

The asset type to fetch. This must be one of source or link β€” those are the only choices, periodt. πŸ’€

πŸ’œ format πŸ’œ

The expected format of the asset. This should be one that Alien::Build::Plugin::Extract::Negotiate understands. The default is tar.gz. πŸ“

🌟 version_from 🌟

Where to compute the version from. This should be one of tag_name or name. The default is tag_name. 🎯

🧚 convert_version 🧚

This is an optional code reference, which can be used to modify the version. For example, if tags have a v prefix you could remove it like so:

plugin 'Download::GitLab' => (
  gitlab_user     => 'plicease',
  gitlab_project  => 'dontpanic',
  convert_version => sub {
    my $version = shift;
    $version =~ s/^v//;
    return $version;
  },
);

For link types, this is a regular expression that filters the asset filenames. For example, if there are multiple archive formats provided, you can get just the gzip'd tarball by setting this to qr/\.tar\.gz$/. 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

  • Alien
  • Alien::Build::Plugin::Download::GitHub
  • alienfile
  • Alien::Build

🌸 AUTHOR 🌸

Graham Ollis <plicease@cpan.org> β€” iconic author moment. πŸ’–

This software is copyright (c) 2022 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Okay that's the whole Alien::...:GitLab(3) page, bestie. Source/version and date: perl v5.42.0, dated 2022-09-26. Byeee πŸ’…βœ¨

πŸ“¦ where this page comes from