Skip to content

kaomte/phabricator_conduit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phabricator

Ripped from the phabricator ruby gem @ https://rubygems.org/gems/phabricator/versions/0.0.7

Installation

Add this line to your application's Gemfile:

gem 'phabricator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install phabricator

Usage

Configuration

You can configure Phabricator to use a specific host, user, and cert. Otherwise, it will fall back to whatever is in your ~/.arcrc file.

Phabricator.configure do |c|
  c.host = 'secure.phabricator.com'
  c.user = 'amber'
  c.cert = '<CERT>'
end

Projects

# Find the project given a project name.
Phabricator::Project.find_by_name('Project')

Tasks

# Create a Maniphest task.
Phabricator::Maniphest::Task.create('title')

# Create a Maniphest task with more detail.
Phabricator::Maniphest::Task.create('title', 'description', ['Project'], 'normal')

Contributing

Patches welcome! (:

For a list of Conduit methods available, see http://secure.phabricator.com/conduit.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages