Gittyup/README.md

131 lines
3.7 KiB
Markdown
Raw Normal View History

[![Actions Status](https://github.com/gitahead/gitahead/workflows/GitAhead%20%28master%29/badge.svg)](https://github.com/gitahead/gitahead/actions) [![Actions Status](https://github.com/gitahead/gitahead/workflows/GitAhead%20%28stage%29/badge.svg)](https://github.com/gitahead/gitahead/actions)
2018-12-13 02:22:04 +03:00
GitAhead - Understand Your History
==================================
GitAhead is a graphical Git client designed to help you understand
and manage your source code history. It's available as a [pre-built
binary for Windows, Linux, and macOS](https://gitahead.github.io/gitahead.com/), or can be built from source by
2018-12-13 02:22:04 +03:00
following the directions below.
How to Get Help
---------------
Ask questions about building or using GitAhead on
[Stack Overflow](http://stackoverflow.com/questions/tagged/gitahead) by
including the `gitahead` tag. Remember to search for existing questions
before creating a new one.
Report bugs in GitAhead by opening an issue in the
[issue tracker](https://github.com/gitahead/gitahead/issues).
Remember to search for existing issues before creating a new one.
If you still need help, email us at
[support@gitahead.com](mailto:support@gitahead.com).
Build Environment
-----------------
* C++11 compiler
* Windows - MSVC >= 2017 recommended
* Linux - GCC >= 6.2 recommended
* macOS - Xcode >= 10.1 recommended
* CMake >= 3.3.1
* Ninja (optional)
Dependencies
------------
External dependencies can be satisfied by system libraries or installed
2019-01-07 23:30:46 +03:00
separately. Included dependencies are submodules of this repository. Some
submodules are optional or may also be satisfied by system libraries.
2018-12-13 02:22:04 +03:00
**External Dependencies**
* Qt (required >= 5.15)
2018-12-13 02:22:04 +03:00
**Included Dependencies**
* libgit2 (required)
* cmark (required)
* git (only needed for the credential helpers)
* libssh2 (needed by `libgit2` for SSH support)
* openssl (needed by `libssh2` and `libgit2` on some platforms)
Note that building `OpenSSL` on Windows requires `Perl` and `NASM`.
2018-12-13 02:22:04 +03:00
How to Build
------------
**Initialize Submodules**
git submodule init
git submodule update
**Build OpenSSL**
# Start from root of gitahead repo.
cd dep/openssl/openssl
Win:
perl Configure VC-WIN64A
nmake
2018-12-13 02:22:04 +03:00
Mac:
2019-01-07 23:30:46 +03:00
./Configure darwin64-x86_64-cc no-shared
2018-12-13 02:22:04 +03:00
make
Linux:
./config -fPIC
2018-12-13 02:22:04 +03:00
make
**Configure Build**
# Start from root of gitahead repo.
mkdir -p build/release
cd build/release
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../..
If you have Qt installed in a non-standard location, you may have to
specify the path to Qt by passing `-DCMAKE_PREFIX_PATH=<path-to-qt>`
where `<path-to-qt>` points to the Qt install directory that contains
`bin`, `lib`, etc.
**Build**
ninja
How to Install
-----------------
**Linux**
The easies way to install GitAhead is by using [Flatpak](https://www.flatpak.org/)
Ubuntu: apt-get install flatpak flatpak-builder
1) Download flatpak manifest located in the repository at `gitahead/pack/flatpak/io.github.gitahead.gitahead.json`
2) Build and install flatpak package (must be executed as root):
flatpak-builder --force-clean --install ./build io.github.gitahead.gitahead.json
2018-12-13 02:22:04 +03:00
How to Contribute
-----------------
We welcome contributions of all kinds, including bug fixes, new features,
documentation and translations. By contributing, you agree to release
your contributions under the terms of the license.
Contribute by following the typical
[GitHub workflow](https://guides.github.com/introduction/flow/index.html)
for pull requests. Fork the repository and make changes on a new named
2018-12-31 05:26:55 +03:00
branch. Create pull requests against the `master` branch. Follow the
[seven guidelines](https://chris.beams.io/posts/git-commit/) to writing a
great commit message.
2018-12-13 02:22:04 +03:00
License
-------
GitAhead is licensed under the MIT license. See LICENSE.md for details.