Skip to main content

Configure your GitHub repository from a file, without having to click around in the UI.

Project description

https://travis-ci.org/jacquerie/github-file.svg?branch=master https://coveralls.io/repos/github/jacquerie/github-file/badge.svg?branch=master

About

Configure your GitHub repository from a file, without having to click around in the UI.

Install

github-file is on PyPI, so all you have to do is:

$ pip install github-file

Usage

Currently github-file implements one subcommand:

$ github-file update

This will update the configuration of your repository on GitHub so that it matches what is described in a file called (by default) Githubfile in the .github folder. Here’s an example of such a file:

[core]
owner = jacquerie
repo = github-file
description = Configure your GitHub repository from a file,
    without having to click around in the UI.

[features]
has_issues = true
has_wiki = false

The meaning of these options is explained in GitHub’s API documentation at https://developer.github.com/v3/repos/#edit, although not all options are currently available. Here’s what’s currently configurable:

  • description

  • homepage

  • private

  • has_issues

  • has_wiki

Author

Jacopo Notarstefano (@Jaconotar)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-file-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file github-file-0.1.0.tar.gz.

File metadata

  • Download URL: github-file-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for github-file-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cd4d01cd0cfce6c63893620b94bcd23edee4356f96fe67cc7d5bc9b1090d8dd8
MD5 3701a232f45108f3f48554c29f8611c5
BLAKE2b-256 9fa1efb25c6c4461d4a5510c71ebed2a9b55c1b14eb2163e937ea4c10f3fa84e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page