Quantcast
Channel: Filed under: site | Miek
Viewing all articles
Browse latest Browse all 10

Upgrading nanoblogger on Ubuntu Jaunty

$
0
0

This is more an entry for future reference

In Karmic the version of nanoblogger will be 3.4. So I figured, why wait? I currently have some time, lets try to upgrade nanoblogger.

Also another nanoblogger user mailed me, saying 3.4 was three times faster... but with all my custom tweaks for 3.3 I'm hoping for the best.

With some packaging foo (had to install quilt and debhelper from Karmic), I now have a nanoblogger package for Jaunty (dpkg-source, dpkg-buildpackage and dpkg are your friends).

 sudo dpkg -i nanoblogger_3.4-1_all.deb

OKay, no errors, only one config question....

nb -l

still works.

nb -l cat

still works (looks to be sorted differently).

Just to be sure, lets make a small backup:

cp -rap miek.nl /tmp/backup-miek-nl

And now

nb -u

I'm seeing sed: -e expression #1, char 207: unterminated s command, but I have no idea where to look to fix this. Also I'm not getting the feeling that this is not so much faster than version 3.3: My zsh tells me it took this long:

313.27s user 517.06s system 687.68s elapsed 120%CPU (nb -u)

A quick reload on my homepage... it's looking good except the 'recent articles' is kaput, some css issues.

Finally the complete upgrade

nb -u all

also works.

Bug fixing

It looks like $NB_ArticleLinks is now done differently, so I need to update the templates a bit. The $NB_ArticleLinks now needs to be properly wrapped in a sidetitle div.

Different stuff

Adding a new entry now must be done as follows:

nb -a entry -c 7

Which is slightly different in 3.3


Viewing all articles
Browse latest Browse all 10

Trending Articles