Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/perlalien/alien-build-git

Alien::Build plugin to download from git
https://github.com/perlalien/alien-build-git

alien alien-plugin git perl

Last synced: 8 days ago
JSON representation

Alien::Build plugin to download from git

Awesome Lists containing this project

README

        

# Alien::Build::Git ![static](https://github.com/PerlAlien/Alien-Build-Git/workflows/static/badge.svg) ![linux](https://github.com/PerlAlien/Alien-Build-Git/workflows/linux/badge.svg) ![windows](https://github.com/PerlAlien/Alien-Build-Git/workflows/windows/badge.svg) ![macos](https://github.com/PerlAlien/Alien-Build-Git/workflows/macos/badge.svg)

Alien::Build tools for interacting with git

# SYNOPSIS

Using helper from [Alien::git](https://metacpan.org/pod/Alien::git):

```perl
use alienfile;

share {

download [
[ '%{git}', 'clone', 'http://example.com/project-foo.git' ],
];

...

};
```

Using plugin [Alien::Build::Plugin::Download::Git](https://metacpan.org/pod/Alien::Build::Plugin::Download::Git):

```perl
use alienfile;

meta->prop->{start_url} = 'http://example.com/project-foo.git';
plugin 'Download::Git' =>(
version => qr/^v([0-9\.]+)$/,
);
```

# DESCRIPTION

This module is documentation only for how to use `git` as a download source
from [alienfile](https://metacpan.org/pod/alienfile) + [Alien::Build](https://metacpan.org/pod/Alien::Build). Depending on the project source that you
are using and the way your [alienfile](https://metacpan.org/pod/alienfile) is structured, you will want to use
one of three modules that come with the distribution `Alien-Build-Git`.
See the synopsis above and the modules in the SEE ALSO section below. To decide
which you need.

Also please carefully consider NOT using one of these modules. If you can,
using http or ftp to download your target project will probably require fewer
and less error-prone dependencies.

# SEE ALSO

- [Alien::git](https://metacpan.org/pod/Alien::git)
- [Alien::Build::Plugin::Download::Git](https://metacpan.org/pod/Alien::Build::Plugin::Download::Git)
- [Alien::Build::Plugin::Fetch::Git](https://metacpan.org/pod/Alien::Build::Plugin::Fetch::Git)

# AUTHOR

Graham Ollis

# COPYRIGHT AND LICENSE

This software is copyright (c) 2017-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.