gitlab 0.2.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 54

GitLab API

build status

This is a dart library to communicate with the GitLab API v4.

This is still work in progress. We are happy about Merge Requests!

This library is already in production use, but it is missing a lot of calls and properties.

The calls that are present should be safe to use.

There are still tests missing for a lot of resources though.

Installation

Simply add it to your project as a dependency:

dependencies:
  gitlab: any

Usage

For the full documentation, and usage, please refer to the documentation.

License

MIT

0.2.3

  • Broaden the intl dependency to include 0.15.x

0.2.2

  • Broaden the SDK restriction to include everything up to 2.0.0.

0.2.1

  • Rename merge request get parameter to iid (was id before)

0.2.0

  • Switch to API version v4

0.1.3

  • Add labels to the merge requests
  • Add tests for merge requests

0.1.2

  • Introduce commit.createdAt

0.1.1

  • Add proper testing and refactor code base a bit

0.1.0

First version.

Introduces basic commands and most of the properties of the most important entities

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  gitlab: "^0.2.3"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


      import 'package:gitlab/gitlab.dart';
  
Version Uploaded Documentation Archive
0.2.3 Jul 5, 2017 Go to the documentation of gitlab 0.2.3 Download gitlab 0.2.3 archive
0.2.2 Jun 26, 2017 Go to the documentation of gitlab 0.2.2 Download gitlab 0.2.2 archive
0.2.1 May 2, 2017 Go to the documentation of gitlab 0.2.1 Download gitlab 0.2.1 archive
0.2.0 May 2, 2017 Go to the documentation of gitlab 0.2.0 Download gitlab 0.2.0 archive
0.1.3 Feb 28, 2017 Go to the documentation of gitlab 0.1.3 Download gitlab 0.1.3 archive
0.1.2 Feb 15, 2017 Go to the documentation of gitlab 0.1.2 Download gitlab 0.1.2 archive
0.1.1 Feb 15, 2017 Go to the documentation of gitlab 0.1.1 Download gitlab 0.1.1 archive
0.1.0 Feb 15, 2017 Go to the documentation of gitlab 0.1.0 Download gitlab 0.1.0 archive

Analysis

We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
14 / 100
Health:
Code health derived from static analysis. [more]
97 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90 / 100
Overall score:
Weighted score of the above. [more]
54
Learn more about scoring.

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:gitlab/gitlab.dart.

Suggestions

  • Homepage does not exists.

    We were unable to access https://gitlab.com/exitlive/gitlab-dart at the time of the analysis.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 10 hints.

    Run dartfmt to format lib/gitlab.dart.

    Run dartfmt to format lib/src/commits.dart.

    Similar analysis of the following files failed:

    • lib/src/http_client.dart (hint)
    • lib/src/issues.dart (hint)
    • lib/src/jobs.dart (hint)
    • lib/src/merge_requests.dart (hint)
    • lib/src/projects.dart (hint)
    • lib/src/snippets.dart (hint)
    • lib/src/utils.dart (hint)
  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use gitlab.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.21.0 <2.0.0
http ^0.11.2 0.11.3+16
intl >=0.14.0 <0.16.0 0.15.6
logging ^0.11.0 0.11.3+1
meta ^1.0.0 1.1.5
Transitive dependencies
async 2.0.7
charcode 1.1.1
collection 1.14.10
http_parser 3.1.2
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
grinder ^0.8.0
mockito ^1.0.1
path ^1.4.0 1.6.0
pub_client ^1.0.0
test ^0.12.20