Git Product home page Git Product logo

guile-git's Introduction

Guile-Git

Guile-Git is a GNU Guile library providing bindings to libgit2.

Copyright © 2016, 2017 Amirouche Boubekki
Copyright © 2018, 2019 Erik Edrosa
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

Requirements

Guile-Git requires the following to be installed.

Installation

Guile-Git uses GNU autotools to create the build and installation scripts. The default install location is in /usr/local. From a release tarball you can run:

./configure
make
sudo make install

This will install Guile-Git with the prefix /usr/local/. This might not be the default load path for your GNU Guile. You may choose to change the prefix to your GNU Guile's location with ./configure --prefix=/usr or add /usr/local/ to GNU Guile's load path in your .profile or .bash_profile like this (replacing 2.2 with your GNU Guile major version):

export GUILE_LOAD_PATH="/usr/local/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
export GUILE_LOAD_COMPILED_PATH="/usr/local/lib/guile/2.2/site-ccache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_COMPILED_LOAD_PATH"

A common issue you may encounter when installing, especially on Ubuntu and Fedora, is guild not being found when you run configure. This happens because the configure script finds a symbolic link to a version of guile with a version number, like guile-2.2. This then has the configure script check for guild-2.2 which does not exist. To fix this, you can provide the path to the version of guile you want to install it for.

./configure GUILE=$(which guile)

Contributing

The easiest way to start hacking on guile-git is to install GNU Guix and run the following command:

> guix environment -l guix.scm

To build from git you do:

./bootstrap
./configure
make

To run the unit tests you do:

make check

You can then:

  • Create a pull request on gitlab
  • Send a patch to one of the maintainers
  • Come and ping OrangeShark about it at #[email protected].

And don't forget to add a unit test!

License

Guile-Git is licenced under GPLv3 or later. See COPYING file for details.

guile-git's People

Contributors

amirouche avatar civodul avatar humanitiesnerd avatar jellelicht avatar jonsger avatar mbakke avatar mothacehe avatar orangeshark avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.