Build-Tool 0.3 Release

I have released version 0.3 of build-tool. As promised last time this release makes it possible to maintain the recipes separately from the code. Build-Tool comes without recipes starting with this release.

Upgrading

To upgrade use sudo gem update build-tool. If you are currently using the kde recipe issue build-tool recipe add git://gitorious.org/build-tool/kde-trunk-recipe.git kde after the update. This will install the kde recipe from the given git repository under the name kde - which is the name it used when bundled with build-tool.

The recipes from now on are just directories under ~/.build-tool/recipes . Check now because you have to manually update the recipe from now on to be up to date. Whenever something changes in kde land i will adapt the recipe and push the changes to gitorious. The command recipe incoming will show you if there are changes available. But you have to update/rebase the recipe manually. You have to carefully review the changes for steps you have to do manually.

To fetch the latest changes to the recipe without making them active issue kde-build recipes incoming -f. This does git fetch origin behind the scene in ~/.build-tool/recipes/kde. An example output:

  1. f70d9c762d9f72c8759cfc32ed882694a9240bbc
  2. Author: Michael Jansen
  3. Date: Tue Jun 22 15:11:57 2010 +0200
  4.  
  5. Konversation moved to git.kde.org.
  6.  
  7. NEEDS ACTION: Edit .git/config . Change to
  8.  
  9. ...
  10. [remote "origin"]
  11. url = git@git.kde.org:/konversation/konversation.git
  12. fetch = +refs/heads/*:refs/remotes/origin/*
  13. ...
  14.  
  15. commit aaaae3c563ecb022a5bdce7032899ca19194589c
  16. Author: Michael Jansen
  17. Date: Tue Jun 22 15:10:17 2010 +0200
  18.  
  19. Amarok moved to git.kde.org.
  20.  
  21. NEEDS ACTION: Edit .git/config . Change to
  22.  
  23. ...
  24. [remote "origin"]
  25. url = git@git.kde.org:amarok/amarok.git
  26. fetch = +refs/heads/*:refs/remotes/origin/*
  27. ...
.

To just review the pending changes without fetching omit the -f(fetch) option.

To make the changes active go to ~/.build-tool/recipes/kde and issue git rebase origin/master. Make sure you have done all manually needed steps when doing that. Remember this is a developer tool.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Recent comments