Coder Social home page Coder Social logo

libgit2-feedstock's Introduction

About libgit2-feedstock

Feedstock license: BSD-3-Clause

Home: https://libgit2.github.com

Package license: GPL-2.0-only WITH GCC-exception-2.0

Summary: libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language which supports C bindings.

libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language which supports C bindings.

Current build status

Azure
VariantStatus
linux_64 variant
linux_aarch64 variant
linux_ppc64le variant
osx_64 variant
osx_arm64 variant
win_64 variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing libgit2

Installing libgit2 from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, libgit2 can be installed with conda:

conda install libgit2

or with mamba:

mamba install libgit2

It is possible to list all of the versions of libgit2 available on your platform with conda:

conda search libgit2 --channel conda-forge

or with mamba:

mamba search libgit2 --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search libgit2 --channel conda-forge

# List packages depending on `libgit2`:
mamba repoquery whoneeds libgit2 --channel conda-forge

# List dependencies of `libgit2`:
mamba repoquery depends libgit2 --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating libgit2-feedstock

If you would like to improve the libgit2 recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/libgit2-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

libgit2-feedstock's People

Contributors

beckermr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar conda-forge-webservices[bot] avatar dfornika avatar github-actions[bot] avatar isuruf avatar kszucs avatar mbargull avatar mingwandroid avatar regro-cf-autotick-bot avatar shadowwalkersb avatar xhochy avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

libgit2-feedstock's Issues

@conda-forge-admin, please rerender

Additional comment:

Opening a PR for me to push to.
Intention is to add zlib to libgit2's run dependencies such that pkg-config --cflags libgit2 works for downstream builds.

TODO transferred from staged-recipes/libigt2

Coped from conda-forge/staged-recipes#1658 (comment). Checkboxes checked in staged-recipes are crossed out here.

TODO before merging:


Per conda-forge/staged-recipes#1658 (comment):

  • libiconv is available on all platforms. Seems they only care about OS X. checked in staged-recipes
  • Having openssl working would be good. Need to pin it though. checked in staged-recipes
  • libssh2 would be a very nice add.
  • ... it looks like it requires more thought. Maybe table it and raise an issue on the feedstock. addressed ( #3 )
  • Please add curl if you haven't already. checked in staged-recipes

Does the SSH work?

@shadowwalkersb does it works?

In circleCI I see the following:

-- Looking for libssh2_userauth_publickey_frommemory in ssh2
-- Looking for libssh2_userauth_publickey_frommemory in ssh2 - not found

Also programatically libgit2 doesn't have the feature:
git_libgit2_features() & GIT_FEATURE_SSH -> 0

Also conda install libgit2 doesn't install libssh2

The following NEW packages will be INSTALLED:

    curl:    7.52.1-0 conda-forge
    libgit2: 0.25.0-0 conda-forge

Proceed ([y]/n)?

Appveyor py27: UnicodeDecodeError: 'ascii' codec can't decode byte

I am seeing failures for CONDA_PY=27 on Appveyor. Currently, I have two PRs that fail due to this, #10 and #11 . Not sure if it is package specific.

Traceback (most recent call last):
  File "C:\Miniconda\Scripts\conda-build-script.py", line 5, in <module>
    sys.exit(conda_build.cli.main_build.main())
  File "C:\Miniconda\lib\site-packages\conda_build\cli\main_build.py", line 322, in main
    execute(sys.argv[1:])
  File "C:\Miniconda\lib\site-packages\conda_build\cli\main_build.py", line 313, in execute
    noverify=args.no_verify)
  File "C:\Miniconda\lib\site-packages\conda_build\api.py", line 97, in build
    need_source_download=need_source_download, config=config)
  File "C:\Miniconda\lib\site-packages\conda_build\build.py", line 1484, in build_tree
    config=config)
  File "C:\Miniconda\lib\site-packages\conda_build\build.py", line 983, in build
    config=config)
  File "C:\Miniconda\lib\site-packages\conda_build\render.py", line 86, in parse_or_try_download
    source.provide(metadata, config=config)
  File "C:\Miniconda\lib\site-packages\conda_build\source.py", line 505, in provide
    unpack(metadata, config=config)
  File "C:\Miniconda\lib\site-packages\conda_build\source.py", line 90, in unpack
    tar_xf(src_path, config.work_dir)
  File "C:\Miniconda\lib\site-packages\conda_build\utils.py", line 314, in tar_xf
    t.extractall(path=dir_path)
  File "C:\Miniconda\lib\tarfile.py", line 2079, in extractall
    self.extract(tarinfo, path)
  File "C:\Miniconda\lib\tarfile.py", line 2116, in extract
    self._extract_member(tarinfo, os.path.join(path, tarinfo.name))
  File "C:\Miniconda\lib\ntpath.py", line 85, in join
    result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 38: ordinal not in range(128)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.