Một mục mã nguồn mở trong kho dữ liệu GitHub của TopGit: hybridgroup/taskmapper, 214 sao, Ruby. Taskmapper provides a universal API to bug tracking and project management systems using Ruby
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Taskmapper is a Gem which eases communication with various project and ticket management systems by providing a consistent Ruby API.
Taskmapper let's you "remap" a system into the consistent Taskmapper API, easily. For instance the description of an issue/ticket, might be named description in one system, and problem-description somewhere else. Via Taskmapper, this would always be called description. The Taskmapper remaps makes it easy for you to integrate different kinds of ticket systems, into your own system. You don't have to take care of all the different kinds of systems, and their different APIs. Taskmapper handles all this for you, so you can focus on making your application awesome.
Installation
Taskmapper is a Gem, so we can easily install it by using RubyGems:
gem install taskmapper
Taskmapper depends on Hashie, which is an amazing library which makes converting objects to hashes, and the other way around, a joy. It should be installed automatically whenever installing taskmapper.
Finding and installing a provider
Taskmapper by itself won't do too much. You may want to install a provider, to retrieve a list of available providers issue the following command:
gem search taskmapper
You could then install for instance taskmapper-pivotal:
gem install taskmapper-pivotal
Usage
Note: The API may change, and the following may not be the final. Please keep yourself updated before you upgrade.
First, we instance a new class with the right set of options. In this example, we are authenticating with Pivotal Tracker.
Like with projects, we can also find tickets by other attributes, like title, priority and so on, with tickets we do not use a find method though. Also as with projects, if no argument is passed, all tickets are retrieved:
For the full documentation on the CLI
taskmapper-cli
Installing the CLI
gem install taskmapper-cli
Creating a provider
Creating a provider consists of three steps:
Run the generator like this:
tm generate --provider-name='myprovider'
Implement whatever is needed to connect to your desired backend
Release it to RubyGems
Create the Taskmapper provider
Thanks to a simple generator, it is easy to get started with a new provider. Run this from the command line:
tm generate --provider-name='myprovider'
This will generate a new skeleton provider called taskmapper-myprovider in the current directory. Create a repo from that directory, and you can start implementing your provider.
Almost all APIs are different. And so are their Ruby providers. Taskmapper attempts to create an universal API for ticket and project management systems, and thus, we need to map the functionality to the Taskmapper API. This is the providers job. The provider is the glue between Taskmapper, and the task management system's API.
Usually, your provider would rely on another library for the raw HTTP interaction. For instance, taskmapper-lighthouse relies on ActiveResource in order to interact with the Lighthouse API. Look at it like this:
Taskmapper -> Provider -> (Ruby library) -> Site's API
Provider being the glue between the site's API and Taskmapper. The Ruby library is "optional" (though highly recommended as mentioned), therefore it is in parantheses.
An example of a provider could be taskmapper-lighthouse, an example of a Ruby library could be ActiveResource.
For now, look at taskmapper-lighthouse as an example on how to create a provider. More detailed documentation will be available soon.
Release it
Simply release it to RubyGems.org, the name of the provider Gem should follow this simple naming rule:
taskmapper-<provider's name>
For instance if you set for a Github provider, it would be named:
taskmapper-github
This makes it easy for people to find providers, simply by issuing:
gem search -r taskmapper
They should be presented with a nice list of all available providers.
Note on Patches/Pull Requests
Fork the project.
Make your feature addition or bug fix.
Add tests for it. This is important so we don't break it in a
future version unintentionally.
Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but bump version in a commit by itself so we can ignore when we pull)
Send us a pull request. Bonus points for feature branches.
Copyright
Copyright (c) 2010-2013 The Hybrid Group. See LICENSE for details.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/hybridgroup/taskmapper là nguồn chính thức.
hybridgroup/taskmapper có phải mã nguồn mở không?
Có — hybridgroup/taskmapper phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/hybridgroup/taskmapper.
hybridgroup/taskmapper có trang demo không?
Dự án có trang chủ ở http://ticketrb.com. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
hybridgroup/taskmapper dùng license gì?
hybridgroup/taskmapper phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
hybridgroup/taskmapper là gì?
hybridgroup/taskmapper (hybridgroup/taskmapper) là dự án Ruby trên GitHub. Theo mô tả gốc: Taskmapper provides a universal API to bug tracking and project management systems using Ruby
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về taskmapper?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về taskmapper.