You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/README.md

98 lines
4.6 KiB
Markdown

[Astrid](http://www.weloveastrid.com/) - Task Management Done Right
================================
15 years ago
Astrid strives to be a simple and effective organization tool for Google Android phones. It comes with features like reminders, tagging, widgets, and integration with online synchronization services.
Interested in using Astrid? Search "astrid" in Android Market. Look for the smiling pink squid!
If you would like to help out with the Astrid project, you're in the right place.
Getting Started With Development
---------------
1. Create your own fork of Astrid by clicking on Github's *Fork* button above (you may have to log in first - [github help](http://help.github.com/forking/)).
2. Install the following:
*[git](http://git.or.cz/)*
*[Eclipse](http://eclipse.org)* (preferred: Eclipse IDE for Java Developers)
*[Android SDK](http://developer.android.com/sdk/index.html)* (last tested with SDK v8)
*[ADT Plugin for Eclipse](http://developer.android.com/sdk/eclipse-adt.html)* (SDK Tools 8, Platform-tools 1, SDK Platform Android 2.3, 2.2, and 1.6)
3. Use **git** to clone your forked repositories
`git clone git@github.com:yourgithubid/astrid.git`
(see Github's instructions if you need help). Follow the [Github Line Ending Help](http://help.github.com/dealing-with-lineendings/)
4. Open up **eclipse** and import the *astrid*, *astridApi*, *astrid-tests*, *facebook*, and *GreenDroid* projects.
5. In Eclipse preferences -> Android build settings, set the SDK location (you installed it in step 2). At this point, there should be no compilation errors. If there are, you might have to **refresh** and **clean** the projects a few times from within **eclipse**
*from Eclipse: project-menu -> clean -> select projects -> check "start a build immediately" if "automatic build" is not enabled*
6. Launch the *astrid* project as an **Android Application**, or the *astrid-tests* project as an **Android JUnit Test Suite**.
7. Join the [Astrid Power-Users List](http://groups.google.com/group/astrid-power).
8. Check out the [Product Roadmap](http://wiki.github.com/todoroo/astrid/) and [Issues](http://github.com/todoroo/astrid/issues), and look for something you'd want to tackle.
9. Read the following contributor and debugging workflow and help make Astrid better!
10. Sign a [Contributors License Agreement](https://github.com/downloads/todoroo/astrid/Contributors%20Licensing%20Agreement.pdf) and send it to astrid AT todoroo.com
Testing on a device - Debugging
---------------
How to debug/test on a USB device: (JoshuaGross Jan 14, 2011)
1. Plug in your device and make sure you can see it by running `adb devices`
2. If you cannot see the device, or want to restart debugging, do:
`adb kill-server`
`adb usb`
`adb devices` (make sure your device is listed)
`adb uninstall com.todoroo.astrid.tests` (you should see "Failure" if this was uninstalled already)
`adb uninstall com.todoroo.astrid` (you should see "Failure" if this was uninstalled already)
3. If you have not already, set up Run configurations in Eclipse; either under the "Run" or "Debug" menus. To test the application, set up "Android Application". To run JUnit tests, set up "Android JUnit Tests". Settings should autofill for you, you should be able to open a new configuration and run it. If you run it in debug mode, see #2 above for getting adb to work in case it is finicky.
4. When running unit tests: make sure to *close all JUnit windows* before running tests. JUnit/Eclipse/Android work together in a very, very janky way. You may get incorrect results if you do not close the window out before running tests. You have been warned.
5. Make sure to commit changes both to the "astrid" project while developing.
Contributors workflow
---------------
**Setup:**
`git clone git@github.com:your-github-id/astrid.git` (your-github-id should obviously be replaced)
`git remote add upstream git@github.com:todoroo/astrid.git`
**Working on new features/fixes:**
`git checkout -b my-new-features upstream/master`
work, work, work!
`git commit` (a separate commit for each bug fix, feature change, style or copy edit please!)
`git fetch upstream`
`git rebase -i upstream/master` (i like to rebase -i to verify what i'm committing and squish small commits)
`git push origin HEAD`
then go to github and submit a pull request!
For further information, read [Tim's Collaborator Guide](http://www.betaful.com/2011/04/git-for-ongoing-collaboration/).
Contact
-------
15 years ago
For support requests, use the Astrid issue tracker. For development questions, contact [timsu](http://github.com/timsu) via e-mail.
Astrid also has an IRC channel, irc.freenode.net #astrid