Gittyup/README.md

139 lines
3.8 KiB
Markdown
Raw Normal View History

2021-10-11 07:29:10 +03:00
[![Actions Status](https://github.com/Murmele/gitahead/workflows/GitAhead%20%28master%29/badge.svg)](https://github.com/Murmele/gitahead/actions) [![Actions Status](https://github.com/Murmele/gitahead/workflows/GitAhead%20%28stage%29/badge.svg)](https://github.com/Murmele/gitahead/actions)
2021-10-11 07:29:10 +03:00
Gittyup
2018-12-13 02:22:04 +03:00
==================================
2021-10-11 07:29:10 +03:00
Gittyup 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.
2021-10-11 07:29:10 +03:00
Gittyup is a continuation of the [GitAhead](https://github.com/gitahead/gitahead) client.
2018-12-13 02:22:04 +03:00
How to Get Help
---------------
2021-10-11 07:29:10 +03:00
Ask questions about building or using Gittyup on
2021-11-22 12:15:32 +03:00
[Stack Overflow](http://stackoverflow.com/questions/tagged/gittyup) by
including the `gittyup` tag. Remember to search for existing questions
2018-12-13 02:22:04 +03:00
before creating a new one.
2021-10-11 07:29:10 +03:00
Report bugs in Gittyup by opening an issue in the
[issue tracker](https://github.com/Murmele/gitahead/issues).
2018-12-13 02:22:04 +03:00
Remember to search for existing issues before creating a new one.
2021-10-11 07:29:10 +03:00
If you still need help, check out our Matrix channel
2021-11-22 10:41:08 +03:00
[Gittyup:martix.org](https://matrix.to/#/#Gittyup:matrix.org).
2018-12-13 02:22:04 +03:00
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**
2021-10-11 07:29:10 +03:00
# Start from root of gittyup repo.
2018-12-13 02:22:04 +03:00
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**
2021-10-11 07:29:10 +03:00
# Start from root of gittyup repo.
2018-12-13 02:22:04 +03:00
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
2021-10-11 07:29:10 +03:00
How to Install
-----------------
2021-11-26 17:38:14 +03:00
### Linux
2021-11-26 17:44:27 +03:00
The easiest way to install Gittyup is by using [Flatpak](https://flathub.org/apps/details/com.github.Murmele.Gittyup).
2021-11-17 13:44:53 +03:00
2021-11-26 17:38:14 +03:00
**Arch Linux**
2021-11-17 13:44:53 +03:00
Install the `gittyup` package from the Arch User Repository.
git clone https://aur.archlinux.org/gittyup.git
cd gittyup
makepkg -si
Or use an AUR helper.
Install `gittyup-git` for the VCS build.
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
-------
2021-10-11 07:29:10 +03:00
Gittyup and its predecessor GitAhead are licensed under the MIT license. See LICENSE.md for details.