Line 54: Line 54:
::there is [http://git.sugarlabs.org/projects/sugar-tools/repos/mainline/blobs/master/release a script] for generating and posting changes that covers all of these details.
::there is [http://git.sugarlabs.org/projects/sugar-tools/repos/mainline/blobs/master/release a script] for generating and posting changes that covers all of these details.


I had a bit of trouble pushing a new change to gitorious today. I had to use the --force flag for some reason. We suspect it may have something to do with the fact that one of the files I pushed is a binary file. Will report back what I find.  
I had a bit of trouble pushing a new change to gitorious today. I had to use the --force flag for some reason. We suspect it may have something to do with the fact that one of the files I pushed is a binary file. Will report back what I find. (Seems to work fine when there are no binary files to add/push.)
  git push -fv
  git push -fv


I have been trying to use release.py with no luck so far either. (It has a dependency on the feedparser python library, which is easy enough to install.) It complained about a mismatched tag, so I used the --version flag to force the same version number as in my activity.info file, but then it failed due to some internal error I didn't note at the time... I'll try again with the next update and report back. --[[User:Walter|Walter]] 14:36, 4 January 2009 (UTC)
I have been trying to use release.py with no luck so far either. (It has a dependency on the feedparser python library, which is easy enough to install.) It complained about a mismatched tag, so I used the --version flag to force the same version number as in my activity.info file. Then I got this error:
 
nothing added to commit but untracked files present (use "git add" to track)
Traceback (most recent call last):
  File "../release.py", line 325, in <module>
    main()
  File "../release.py", line 314, in main
    release.tag()
  File "../release.py", line 170, in tag
    subprocess.check_call(['git', 'commit', '-a', '-m' , '%s' % message])
  File "/usr/lib/python2.5/subprocess.py", line 462, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'commit', '-a', '-m', 'Release 26']' returned non-zero exit status 1
 
Is this because I did the git commit and git push by hand before running release.py?


===Sandbox===
===Sandbox===