-
Notifications
You must be signed in to change notification settings - Fork 186
Development
Information, resources and conventions concerning cherrymusic development
[travis-ci] (http://about.travis-ci.org/docs/) tests certain branches after commits to github. .travis.yml
contains the relevant configuration.
travis provides browser plugins to display project build status while browsing github. (for firefox, chrome and opera, currently.)
Add [ci skip]
to the commit message to skip a CI build for a commit.
Here's the recommended way to create a new release.
-
Make sure
devel
is up to date$ git checkout devel $ git pull
-
Merge
devel
intomaster
The latest
master
commit should be in the history ofdevel
, so this should be possible as a fast-forward merge. However, to preserve history correctly, it's better to have an explicit merge commit:$ git checkout master $ git merge --no-ff devel
-
Bump the version
Decide on the new version number. Update
CHANGES
and thecherrymusicserver
module accordingly.$ vim CHANGES $ vim cherrymusicserver/__init__.py
-
Create the release commit
$ git commit -m "version X.Y.Z"
-
Tag the release commit
$ git tag -a -m "vX.Y.Z"
-
Merge the release back into
devel
$ git checkout devel $ git merge master
-
Push everything to origin
$ git checkout master $ git push --tags
Useful news feeds to keep up to date
After logging in, the github home page shows your personal news feed. On the same page, there's a link to the RSS feed of this stream, currently towards the top right corner. In general, it takes the form of
https://github.com/$USER.private.atom?token=$APITOKEN
There seems to be now way to find out one's API token without finding this RSS link.
generally: https://github.com/$USER/$REPOSITORY/commits/$BRANCH.atom
With diff: http://github-rss.heroku.com/?feed=$FEEDURL
master: https://github.com/devsnd/cherrymusic/commits/master.atom
devel: https://github.com/devsnd/cherrymusic/commits/devel.atom
Since cherrymusic is a public repository, there's no need for authentication.
Changes: https://github.com/devsnd/cherrymusic/wiki.atom
designing RESTful web services
just some ideas...