Categories:
-
3d 96 articles
-
animations 16 articles
-
architecture 47 articles
-
blender 98 articles
-
bédé 19 articles
-
techdrawing 24 articles
-
freecad 190 articles
-
gaming 1 articles
-
idsampa 8 articles
-
inthepress 8 articles
-
linux 57 articles
-
music 1 articles
-
nativeifc 31 articles
-
opensource 267 articles
-
orange 4 articles
-
photo 16 articles
-
projects 35 articles
-
receitas 176 articles
-
saopaulo 18 articles
-
sketches 163 articles
-
talks 25 articles
-
techdrawing 24 articles
-
textes 7 articles
-
trilhas 3 articles
-
urbanoids 1 articles
-
video 47 articles
-
webdesign 7 articles
-
works 151 articles
Archives:
-
2007 22 articles
-
2008 32 articles
-
2009 66 articles
-
2010 74 articles
-
2011 74 articles
-
2012 47 articles
-
2013 31 articles
-
2014 38 articles
-
2015 28 articles
-
2016 36 articles
-
2017 41 articles
-
2018 46 articles
-
2019 59 articles
-
2020 18 articles
-
2021 20 articles
-
2022 7 articles
-
2023 25 articles
-
2024 15 articles
Bazaar for webdesign
I just began to use bazaar to manage this website and www.uncreated.net. Right now this is only to keep track of changes and have a convenient way to upload all the changes I do at once, but in the future I have several more advanced ideas to play with.
There are a lot of Version control systems out there, but bazaar has the advantage to be of the recent (decentralized) generation, meaning you can have several concurrent easy to merge branches (every local copy is more or less a branch) and also to be able to upload to a dumb server, where no special software must be installed. This is what I use here.
Basically the procedure is very simple if you already used other VCS systems such as Git or Subversion:
cd myWebSite # go to your website rootbzr init # this creates a repositorybzr ignore *.xcf # before adding files, ignore everything you won't need to keep track ofbzr add . # add everythingbzr commit -m "First commit" # commit your changesbzr upload --auto --remember sftp://login@server.com
The last line will upload everything on the server. The upload command is a plugin for bazaar, which you might need to install separately. After that, everytime you commit, the changes will be uploaded (thanks to the --auto switch). but yo ucan also do it manually with:
bzr upload
The server location will be remembered from last time. In case you have a very large website, and it is online already, you might not want to re-upload everything on first commit. To solve that, there is an easy trick:
bzr upload /home/user/tmp # this will upload everything in a local foldercd /home/user/tmpsftp login@server.comput .bzr-upload.revidexit # exit sftpcd myWebSite # go back to your site rootbzr upload --remember sftp://login@server.com
Now bazaar will find a bazaar revision id on your remote site, and only upload the changes.
Finally, if you don't like the command line, bazaar has several GUI interfaces, such as qbzr which allow you to do all the above the elegant (but not as powerful) way:
Note: My installation of bazaar has a bug that prevents using sftp correctly... I made a little patch available here.