about archives contact posts tags

my hackergotchi

Since you're already here and don't want to pass by, welcome to my webpage!

One may wonder what Pimentola is. Well, according to Kalevala, it is a very cold location somewhere in the far North. The word means something like a "region of darkness". That's why it is dark over there. You can check an article on Pohjola to learn a bit more.

Hope you're not afraid of cold and darkness.

Just registered another Mastodon account, this time on mastodon.art. I plan to publish some of my photos there. These photos are part of my on-going amateur art project. It is about sky and everything on it. So, it is about blue, red, yellow and some other colors, Sun, Moon, stars, clouds, lighting, rainbow, flying birds, flying planes and so on.

All of my photos are licensed under CC-BY-SA 4.0.

Originally some time ago I was thinking about creating a web-site for these photos, and even invented a name for it, "Sky of My Window". But since as I planned it it would require investing some non-trivial amount of time (I was not able to find any free webapp suitable for my purposes), I decided to use Mastodon for now and maybe create a website late. So, everyone is welcome at @skyofmywindow@mastodon.art!

Posted Sat Aug 18 18:02:21 2018 Tags:

Here is my monthly log covering what I have been doing for Debian in July 2018.

Debian website

Added new files

Translated new pages into Russian

Synchronized translated pages with the original ones

Synchronized po files

Debian packages

Uploaded packages

Uploaded packages to the NEW queue

Bugs (except l10n bugs)

Debian Mailing Lists, Listarchive Review

Reviewed 37 spam reports.

Posted Tue Jul 31 23:54:26 2018 Tags:

По мотивам этого сообщения решил написать пост с ответами на Debian Trivia. Итак, начнём.

What was the first release with an “and-a-half” release?

Первым (и пока единственным) выпуском “and-a-half” был etch, 4.0. etch-and-a-half был выпущен как набор дополнительных пакетов (включал обновлённое ядро версии 2.6.24 и пакеты с драйверами Xorg для Intel и nVidia) в составе четвёртой, 4.0r4, редакции. Затем эти пакеты также входили в состав последующих редакций etch.

Where were the first two DebConf held?

Первые две конференции DebConf прошли в Бордо во Франции в 2000 и 2001 годах.

What are Debian releases named after? Why?

Выпуски Debian названы именами героев мультфильма «История игрушек». Этот мультфильм был создан компанией Pixar совместно с компанией Уолта Диснея в 1995 году, а первый выпуск Debian, получивший имя из этого мультфильма, был выпущен в 1996 г. Дело в том, что в 1996 г. Лидером Проекта Debian стал Брюс Перенс, проработавший 12 лет в компании Pixar, где он занимался в том числе разработкой ПО для создания анимации. Похоже, именно Брюс решил назвать выпуск именем персонажа «Истории игрушек», потом это решение прижилось.

Give two names of girls that were originally part of the Debian Archive Kit (dak), that are still actively used today.

britney (в настоящее время britney2) — это набор сценариев, выполняющих перенос пакетов из нестабильного выпуска в тестируемый, в ходе которого выполняются специальные проверки. Изначально состоял из нескольких сценариев с разными именами, из которых сохранились, в частности, madison и katie.

madison выполняет поиск сведений о пакетах, их версиях и архитектурах для разных выпусков в базе данных архива Debian.

katie выполняет проверку загружаемых пакетов.

Swirl on chin. Does it ring a bell?

Имеется в виду Базз Лайтер (Buzz Lightyear), герой «Истории игрушек», именем которого назван первый выпуск Debian. В мультфильме у этого персонажа на подбородке нарисована спираль (swirl), которая очень похожа на логотип (спираль) Debian.

What was Dunc Tank about? Who was the DPL at the time? Who were the release managers during Dunc Tank?

Dunc Tank — это экспериментальный и довольно спорный проект по сбору пожертвований с целью оплаты одного полного месяца работы для двух менеджеров, ответственных за выпуск, с той целью, чтобы выпуск etch был подготовлен к заранее запланированной дате, 4 декабря 2006 г.

Лидером Проекта в то время был Энтони Таунс (Anthony Towns), а менеджерами, ответственными за выпуск, были Андреас Барт (Andreas Barth) и Стив Лангашек (Steve Langasek).

Cite 5 different valid values for a package’s urgency field. Are all of them different?

Значениями могут быть low, medium, high, emergency, critical. Последние два, emergency и critical, являются синонимами. Эти значения влияют на то, как быстро пакет должен быть обновлён. То есть, это поле определяет то, как быстро пакет будет рассмотрен на предмет его переноса из нестабильного выпуска в тестируемый.

When was the Debian Maintainers status created?

Этот статус появился после голосования по этому поводу в 2007 году.

What is the codename for experimental?

Казалось бы, кодового имени нет, а на самом деле оно есть. Это rc-buggy. Назван он по имени игрушечной машинки Энди, где “RC” означает “Release Critical” (в контексте Debian) и “Remote Control” (в контексте мультфильма).

Order correctly lenny, woody, etch, sarge

  • woody, 3.0, 2002 год

  • sarge, 3.1, 2005 год

  • etch, 4.0, 2007 год

  • lenny, 5.0, 2009 год

Which one was the Dunc Tank release?

etch, что должно быть понятно из ответа на вопрос о Dunc Tank.

Name three locations where Debian machines are hosted.

Ой, много где.

What does the B in projectb stand for?

“B” означает “Betty”. projectb представляет собой базу данных, хранящую все метаданные пакетов Debian. В ответе на вопрос о dak уже приводились названия сценариев с женскими именами, видимо, “Betty” — это отголосок тех времён.

What is the official card game at DebConf?

Разновидность Мао.

Describe the Debian restricted use logo.

Логотип Debian для ограниченного использования представляет собой бутылку со спиралью Debian над ней, снизу может быть надпись “Debian”.

One Debian release was frozen for more than a year. Which one?

Это был выпуск woody, который был заморожен с февраля 2001 по июль 2002.

Name the kernel version for sarge, etch, lenny, squeeze, wheezy. bonus for etch-n-half!

  • sarge: 2.4.27, 2.6.8

  • etch: 2.6.18

  • lenny: 2.6.26

  • squeeze: 2.6.32

  • wheezy: 3.2

  • etch-and-a-half: 2.6.24

What happened to Debian 1.0?

Выпуск Debian 1.0 никогда не был выпущен. Это произошло из-за того, что компания InfoMagic выпустила компакт-диски с разрабатываемой и ещё не готовой версией Debian как Debian 1.0. В связи с этим было решено объявить, что эта версия не является выпуском Debian 1.0, а подготовленный в последствии выпуск получил номер 1.1 и кодовое имя buzz.

Which DebConfs were held in a Nordic country?

DebConf3 (Осло, 2003) и DebConf5 (Хельсинки, 2005).

What does piuparts stand for?

piuparts означает “Package Installation, UPgrading And Removal Testing Suite” (набор тестов по установке, обновлению и удалению пакетов) и представляет собой специальную программу для тестирования пакетов Debian.

Name the first Debian release.

Первым выпуском Debian был 1.1, buzz. До этого тоже были выпуски, но они считались предварительными. Именно buzz был выпущен как официальный первый выпуск.

Order correctly hamm, bo, potato, slink

  • bo, 1.3, 1997 год

  • hamm, 2.0, 1998 год

  • slink, 2.1, 1999 год

  • potato, 2.2, 2000 год

What are most Debian project machines named after?

Большинство машин Debian названы в честь композиторов. Например, служба nagios работает на машине tchaikovsky.

Posted Tue Jul 31 15:04:36 2018 Tags:

Here is my monthly log covering what I have been doing for Debian in June 2018.

Debian website

Added new files

  • english/security/2018/dsa-4214.{data,wml},
  • english/security/2018/dsa-4234.{data,wml},
  • english/security/2018/dsa-4236.{data,wml}

Translated new pages into Russian

Synchronized translated pages with the original ones

Synchronized po files

Debian packages

Uploaded packages

Uploaded packages to the NEW queue

Bugs (except l10n bugs)

Debian Mailing Lists, Listarchive Review

Reviewed 6 spam reports.

Posted Sun Jul 1 10:52:45 2018 Tags:

Here is my monthly log covering what I have been doing for Debian in May 2018.

Debian website

Added new files

  • english/security/2018/dsa-4187.{data,wml},
  • english/security/2018/dsa-4188.{data,wml},
  • english/security/2018/dsa-4189.{data,wml},
  • english/security/2018/dsa-4190.{data,wml},
  • english/security/2018/dsa-4192.{data,wml},
  • english/security/2018/dsa-4194.{data,wml},
  • english/security/2018/dsa-4196.{data,wml},
  • english/security/2018/dsa-4197.{data,wml},
  • english/security/2018/dsa-4198.{data,wml},
  • english/security/2018/dsa-4199.{data,wml},
  • english/security/2018/dsa-4200.{data,wml},
  • english/security/2018/dsa-4201.{data,wml},
  • english/security/2018/dsa-4202.{data,wml},
  • english/security/2018/dsa-4203.{data,wml},
  • english/security/2018/dsa-4204.{data,wml},
  • english/security/2018/dsa-4206.{data,wml},
  • english/security/2018/dsa-4208.{data,wml},
  • english/security/2018/dsa-4209.{data,wml},
  • english/security/2018/dsa-4210.{data,wml},
  • english/security/2018/dsa-4211.{data,wml}

Translated new pages into Russian

Synchronized translated pages with the original ones

Localization

Debian packages

Uploaded packages

Uploaded packages to the NEW queue

Bugs (except l10n bugs)

Debian Mailing Lists, Listarchive Review

Reviewed 69 spam reports.

Posted Sun Jul 1 10:51:53 2018 Tags:

Here is my monthly log covering what I have been doing for Debian in April 2018.

Debian website

Added new files

  • english/security/2018/dsa-4159.{data,wml},
  • english/security/2018/dsa-4160.{data,wml},
  • english/security/2018/dsa-4161.{data,wml},
  • english/security/2018/dsa-4162.{data,wml},
  • english/security/2018/dsa-4163.{data,wml},
  • english/security/2018/dsa-4165.{data,wml},
  • english/security/2018/dsa-4166.{data,wml},
  • english/security/2018/dsa-4167.{data,wml},
  • english/security/2018/dsa-4168.{data,wml},
  • english/security/2018/dsa-4174.{data,wml},
  • english/security/2018/dsa-4179.{data,wml},
  • english/security/2018/dsa-4182.{data,wml},
  • english/security/2018/dsa-4184.{data,wml},
  • english/security/2018/dsa-4185.{data,wml},
  • english/security/2018/dsa-4186.{data,wml},

Changed original pages

Translated new pages into Russian

Translated historical pages into Russian

Synchronized translated pages with the original ones

Localization

Debian packages

Uploaded packages

Uploaded packages to the NEW queue

Bugs (except l10n bugs)

Debian Mailing Lists, Listarchive Review

Reviewed 21 spam reports.

Posted Tue May 1 19:08:23 2018 Tags:

Here is my monthly log covering what I have been doing for Debian in March 2018.

Debian website

Added new files

  • english/security/2018/dsa-4127.{data,wml},
  • english/security/2018/dsa-4128.{data,wml},
  • english/security/2018/dsa-4129.{data,wml},
  • english/security/2018/dsa-4131.{data,wml}
  • english/security/2018/dsa-4132.{data,wml},
  • english/security/2018/dsa-4135.{data,wml},
  • english/security/2018/dsa-4138.{data,wml},
  • english/security/2018/dsa-4142.{data,wml}
  • english/security/2018/dsa-4143.{data,wml},
  • english/security/2018/dsa-4144.{data,wml},
  • english/security/2018/dsa-4147.{data,wml},
  • english/security/2018/dsa-4148.{data,wml}
  • english/security/2018/dsa-4149.{data,wml},
  • english/security/2018/dsa-4150.{data,wml},
  • english/security/2018/dsa-4152.{data,wml}

Translated new pages into Russian

Translated historical pages into Russian

Synchronized translated pages with the original ones

Website-related scripts

Localization

Debian packages

Uploaded packages

Uploaded packages to the NEW queue

Bugs (except l10n bugs)

Debian Mailing Lists, Listarchive Review

Reviewed 72 spam reports.

Posted Sun Apr 1 10:32:35 2018 Tags:

As I wrote earlier Debian migrates from Alioth to Salsa. In the previous post I've explained how to batch import Alioth repositories for which one has local clones with the help of a small and ugly Perl script. But this is just a part of what should be done. This time I modified the scipt to change Vcs-{Browser,Git} URLs in the debian/control files from Alioth to Salsa, commit changes, change git remote, and push. Don't expect the code to be beautiful or efficient, it just works for me.

So, to use the script with the other team's repositories (other than Debian Emacs Addons Packaging Team) one needs to slightly change the $salsa, $alioth, $salsa_origin variables. Also, it is possible to black list directories with the help of grep in @dirs declaration. If you want to silence git, then append >/dev/null 2>/dev/null to the corresponding git commands.

Yes, I understand that I should add this URLs updating functionality to the original script in the first place, but at the time I wrote it I was not ready to spend more time on it. And since the migration is rather a one-shot thing, I don't want to polish it now. Therefore, be careful while using it for your stuff. There are no guarantees that it will work for you or will not break anything.

#!/usr/bin/perl

use warnings;
use strict;

use File::Slurp;

my $root = $ARGV[0];

my $salsa = "https://salsa.debian.org/emacsen-team/";
my $alioth = qr/https:\/\/anonscm\.debian\.org\/c?git\/pkg-emacsen\/pkg\//;

my $salsa_origin = 'git@salsa.debian.org:emacsen-team/';

my $commit_message = "Change Vcs-{Browser,Git} URL to salsa.debian.org";

opendir my $dh, $root or die "$0: opendir: $!";

my @dirs = grep { -d "$root/$_" && ! /^\.{1,2}$|^dh-.*(elpa)+/ } readdir($dh);

closedir $dh;

foreach my $dir (@dirs) {
    chdir $root . $dir;
    next unless (-e $root . $dir . "/debian/control");
    system "git pull origin master";
    my @lines = read_file( $root . $dir . "/debian/control" );
    my $git_new_origin;
    print "Processing $dir...\n";
    for (my $l = 0; $l <= $#lines; $l++) {
        unless ($lines[$l] =~ /$salsa/g) {
            if ($lines[$l] =~ m/Vcs-Browser: $alioth/) {
                $lines[$l] =~ s/(Vcs-Browser: ).*\/(.+)\.git\/$/$1$salsa$2/g;
            } elsif ($lines[$l] =~ m/Vcs-Git: $alioth/) {
                $lines[$l] =~ s/(Vcs-Git: ).*\/(.+\.git)$/$1$salsa$2/g;
                $git_new_origin = "git remote add origin $salsa_origin$2";
            }
        }
    }
    write_file( $root . $dir . "/debian/control", @lines );
    system "git remote rm origin";
    if ($git_new_origin) {
        system $git_new_origin;
        system "git commit -a -m $commit_message";
        system "git push"
    } else {
        print "No changes, skipping...\n"
    }
}

The script gets path to the root directory, containing the local clones, as an argument, so it should be ran as something like ./salsa-convert.pl ~/freedom/packaging/elpa/.

Posted Thu Mar 22 16:22:34 2018 Tags:

Here is my monthly log covering what I have been doing for Debian in February 2018.

Debian website

Added new files

  • english/security/2018/dsa-4105.{data,wml},
  • english/security/2018/dsa-4108.{data,wml},
  • english/security/2018/dsa-4109.{data,wml},
  • english/security/2018/dsa-4110.{data,wml}
  • english/security/2018/dsa-4112.{data,wml},
  • english/security/2018/dsa-4113.{data,wml},
  • english/security/2018/dsa-4114.{data,wml},
  • english/security/2018/dsa-4115.{data,wml}
  • english/security/2018/dsa-4116.{data,wml},
  • english/security/2018/dsa-4117.{data,wml},
  • english/security/2018/dsa-4121.{data,wml},
  • english/security/2018/dsa-4123.{data,wml}
  • english/security/2018/dsa-4125.{data,wml}

Translated new pages into Russian

Translated historical pages into Russian

Synchronized translated pages with the original ones

Debian packages

Uploaded packages

Debian QA

Properly retitled WNPP bug reports

Debian Mailing Lists, Listarchive Review

Reviewed 235 spam reports.

Other stuff

Migrated my Emacs addons packages (I think 89 packages total) from Alioth to Salsa.

Posted Thu Mar 1 12:26:53 2018 Tags:

Debian migrates from Alioth to Salsa. Salsa is a GitLab instance, which is used to host git repositories for Debian.

I maintain about 90 Debian packages as a member of Debian Emacs Addons Packaging Team. So, migrating these packages by hand can easily become a hurdle. Fortunately, there's already some code written to ease migration. One can find Mehdi Dogguy's scripts, especially his import.sh script. I also found Enrico Zini's fork of the mentioned repository. Enrico Zini's fork contains some changes for better error handling. Since I just want to migrate a bunch of my repositories and don't want to mess things up, I choose to stick with the latter version of the import.sh script.

The first thing one needs to do is to generate access token with api scope. Then one needs to put that token to salsarc file in a directory containing import.sh script. Now it is possible to import Alioth repository to Salsa using something like as follows:

./import.sh https://anonscm.debian.org/cgit/pkg-emacsen/pkg/ace-link.git/ emacsen-team

Now we need to grab somewhere URLs of Alioth repositories to import to Salsa. Typically there is a Vcs-Browser field in debian/control file, which contains URL in question. So, I decided to write some small and ugly Perl script to batch process local clones of Alioth repositories. Note that I placed all clones of pkg-emacsen's Alioth repositories to the same directory. So, the code batch processing can be something like as following:

#!/usr/bin/perl

use warnings;
use strict;

my $root = $ARGV[0];

opendir my $dh, $root or die "$0: opendir: $!";

my @dirs = grep { -d "$root/$_" && ! /^\.{1,2}$|^dh-.*(elpa)+/ } readdir($dh);

closedir $dh;

DIR: foreach (@dirs) {
    print "Processing $_...\n";
    open my $fh, ( $root . $_ . "/debian/control" ) or die "$0: open: $!";
    while (<$fh>) {
        chomp;
        if (m/(Vcs-Browser: )(.*)/) {
            $_ =~ s/(Vcs-Browser: )(.*)/$2/g;
            system "./import.sh $_ emacsen-team";
            next DIR;
        }
    }
    close $fh;
}

To batch process local clones one needs to run the script with the path to the directory with the clones in question as an argument, that is

./batch.pl /home/dogsleg/freedom/packaging/elpa/

You can easily adopt the script to batch import repositories of any Debian team. Moreover, by tweaking grep in @dirs declaration one can blacklist subdirectories that should not be processed.

By the way, importing takes time. It took about 30 minutes to process 90 packages.

Posted Wed Feb 28 13:45:38 2018 Tags:

This page is powerly powered by powerful ikiwiki.