Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
IGitt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
34
Issues
34
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
10
Merge Requests
10
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gitmate
open-source
IGitt
Commits
85318ead
Commit
85318ead
authored
Mar 19, 2018
by
Lasse Schuirmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add landing page
parent
cb8aed0e
Pipeline
#19165013
canceled with stages
in 24 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
5 deletions
+34
-5
README.rst
README.rst
+1
-1
docs/index.rst
docs/index.rst
+33
-4
No files found.
README.rst
View file @
85318ead
...
...
@@ -28,7 +28,7 @@ how to set labels on a GitHub issue::
For more documentation you'll have to check the documentation comments for now.
More docs
coming soon :)
More docs
are available at `IGitt.GitMate.io <https://igitt.gitmate.io/>`_.
What About the Name?
--------------------
...
...
docs/index.rst
View file @
85318ead
Welcome to IGitt
's documentation
!
=================
================
Welcome to IGitt!
=================
.. image:: _static/logo_256.png
IGitt is a Git hoster abstraction. It is one python API that allows you to rule
over GitHub, GitLab and more hosting platforms.
Hey there! You're in the right place if you want to develop IGitt itself!
Why do I Need This?
-------------------
If you want to support more than one hoster it doesn't mean that you want to
implement all your API requests multiple times. With IGitt you can create e.g.
a ``GitHubIssue`` object and use it the same way as a ``GitLabIssue`` object.
Stop worrying about multiple platforms :)
Installation
------------
::
pip install IGitt
Quickstart
----------
All classes follow the APIs given in `IGitt.Interfaces`. Here's an example on
how to set labels on a GitHub issue::
from IGitt.GitHub.GitHubIssue import GitHubToken, GitHubIssue
issue = GitHubIssue(GitHubToken("YOUR TOKEN"), "ORG/REPO", NUMBER)
issue.labels = {"type/bug", "area/core"}
API Documentation
-----------------
.. toctree::
:caption: Home
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment