kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #42248
Re: GitLab migration
-
To:
<kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Maciej Suminski <maciej.suminski@xxxxxxx>
-
Date:
Tue, 15 Oct 2019 00:52:11 +0200
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass (sender ip is 188.184.36.46) smtp.rcpttodomain=lists.launchpad.net smtp.mailfrom=cern.ch; dmarc=bestguesspass action=none header.from=cern.ch; dkim=none (message not signed); arc=none
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uThTTn3ostTd1kqmRDk9KsNHqXblEKFsQaPh4H2hFeY=; b=EB86vZhlnUP17nZ98AKHLsfQeFkbebk1TuPdfD7WwhxXXKDg45nMnBTOcESDuTmjFznid/+DCkH2wBCNgobw6ogApz4aWHazLnuL3hPgHY6ZlsYcVZUoL9l4M4Cxj8h1kdpFLLKxaISnh/WAfG4RGXmqGJpZKsPk4yKu+NA0iIjVKj7NjMj+P+h+JAwr6IU1jvWSL+3QTeKeb6li4K5/X6umnIlobXjqYiD8AEAviIA5S71nGQIaYT9x7fXXJJFQYqa+t0WcFU0nqVpCP01ZlsB9kPvB0KwqF0lKjRiwgnDWMd7dkuIcZkWTrnVC2htk6YPY5zpgBe6F+b3V2BKCbA==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NBgd2V4ML+yVV2zkyQaRgXuMimPG4cu8iAoRG2pz5BilFvV4kPt009q+EsyC7dQ1ll5O89+3YuEzV6LJFmJCT5NuAT3g00G2dA7Qci/Oxx7lfV+pSf5UaEMT901OXe3XZogsAOtAPWQcoaUHNoCQ6qyOS7D1gEQOStTVYaS2/GziCQPbpO74NmUsHMatWdhgYwFZ1fyZ1JCyiawux3ZStg/cXQshYuwXxpbeU2yJhYlx5vcXlGUQX+vq7jruT2gQScp0UM9z3BVhVahhprz4+wp4fy5l27ao6i6KLZyk+Q6HAS9eznpK1v9Vf1GS5Ef61mwQJ7hlM5EwUnQcQNlyXg==
-
Authentication-results:
spf=pass (sender IP is 188.184.36.46) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
Autocrypt:
addr=maciej.suminski@xxxxxxx; prefer-encrypt=mutual; keydata= mQENBFKfmAwBCAC9tak+4mDO1WiNnAwegusPBMEdl+sV35XeaU4PGSt33mPSlXB2klamg4ih QUykvuWqNEg2KyTvCSKNfnHTpzeeFegEsIwWFdhbIc4uUAD6CHl4+uGTXQiMh1+IJkgLmwuD RCEx9mSKbdzzTKz05w+fzzT3mNfko8NICWlcmhFgo2RXnQRTqFg7CNNBpx4kr4+AWIvb+Rha AVMLVJj1s05+STGyFucu6sZmTmOC53ZtkV8HchJeGuQL0LPkjvX0VKGE3gkvuP4iLBcgFtNC Kcu/L6FmWd24m2IhWaHXoWLBiVFw7gGzUdB7gSAiNO1+SoWX+99rbud7RvqV49vOgoqbABEB AAG0KU1hY2llaiBTdW1pbnNraSA8bWFjaWVqLnN1bWluc2tpQGNlcm4uY2g+iQE5BBMBAgAj BQJSn5gMAhsDBwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AACgkQFHAa7WGlsnU/JQf5AYW0 oFH+jOykZvlRkRZMoqw1vZGOHeRPK92vbjeiau/hALYX1FBvZMx+JMmVHN7DkRIY7bVoiJ6N n4Byn//BSd9F9eXjAphYVuBg2Xe5wp3/l9/z2Iw8KeLpfKAtfIybgpycvTuUxFIxm9mtpPt+ AoNFKBDhfLcpZLJTW7AwwpnzP+GDdjszjnW6rMt8Aq55liR+y/TZfz/tTEDcUcSPLlJBTmda TmkO5aPxPmeCeDMOT3YEd+bK57V5b7RgtqTdIT6CW7tjQKBPJbIGa8PQ0tUfz0yCBEPWghnY w+B/2JeArrRXDui78cGgTDy1ocQNAm3havk2WO2qykxziY6OwbkBDQRSn5gMAQgAxw+MRllT IPNnCeOAbRgX1KRzo7+7WpSIbmhrBzLY0O1SyIa7U05E6+4jDHDfDpSLqc61an1+M69e6l9Z E3ve3hymtj5ucXZQnveQ5klD6z5FBC/04of/YyrS+h6iRSM0nOmu1JOIqM0S2OzwsKRsS86r jCtRE5OxoBDCIB4xNPitezs4uvLoVfO3mVYUhiPRZMtTCInEi+tlM+AmaPjRkPAfhd0wsOjk oxkuJWEnZ8U8oHpeL0uqANZgLlIiT5yJMWsyyqlK01hdFbuIydIFFiyXJw1HDTXWX+tMxJrX VEvQJZALof9RU/jntqGltnQXArUgPMSGGu1f+7AH/CuMyQARAQABiQEfBBgBAgAJBQJSn5gM AhsMAAoJEBRwGu1hpbJ1maAH/RZPbvXaNIOouHZlnlkq/WORHxjkKfve+AbE62Ed8yFIwlAj tyZGKeEG9hDJl6f9BxDv+9qunTfWfXQuHxNIpdXstkxQIx4m043Kx3h7VdEmg53ybeGNgpvz BYk5HdgCH3yP6UbGNiel6xZOywmvpru3pEKNg4mJhzxm9JCG+djrvbRh+BZNOkDBgaSiCAuJ q6Ffo9Qk/qfl6Uim9G7GKSS4930ZQ2GoVObe+jXixOhWXFSDhGKX5meABmELJ9XTcW3Pp6XC 0KXOE2p0EHQPmFvXdU6OePI72jTgRzPJXRXbPkL0/NUfbZfxS/xnAG8jmODc2ufbtrvE2jPu INX35u4=
-
In-reply-to:
<7f260b3b-9470-79cc-6f7e-b043a2508c95@cern.ch>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
I have started working on the bug tracker migration script [1], and now
you can check out a test batch of 100 bug reports converted to Gitlab
[2]. I am looking forward to your comments.
What is transferred accurately?
- description
- messages (including attachments and dates)
- milestones
- tags
- duplicates ('related bugs' in Gitlab)
What is different?
- text formatting:
Gitlab uses markdown to format the text, while Launchpad reports are
plain text. From what I see, verbatim text transfer between the
platforms does not look terrible, but if you see anything that demands a
fix - let me know.
- importance:
In Gitlab bugs are described with 'weight' property, which is an
integer. I imagine the higher the weight, the more important is a bug.
For the moment I use the following mapping:
'Critical': return 50
'High': return 40
'Medium': return 30
'Low': return 20
'Wishlist': return 10
- status:
Gitlab offers only two status types: opened/closed. It is a pity, but I
doubt we can do anything about it. Here is a mapping proposal:
'New': return 'active'
'Incomplete': return 'active'
'Opinion': return 'active'
'Invalid': return 'close'
'Won\'t Fix': return 'close'
'Expired': return 'close' # TODO should be closed or active?
'Confirmed': return 'active'
'Triaged': return 'active'
'In Progress': return 'active'
'Fix Committed': return 'close'
'Fix Released': return 'close'
- authors:
The whole contents is currently transferred under a single author
(myself, but I plan to use a dedicated account for the migration). If we
were admins of a Gitlab instance, then we could use 'sudo' [3] to
impersonate users. This would still require users to create their
accounts before the migration.
My workaround is adding a first line indicating the original author
('xxx wrote:').
To-do:
- assignees:
I plan to create a user map linking Launchpad and Gitlab accounts to
transfer. If an account is not mapped, then I will try to search
gitlab.com for an exact match (I cannot guess correctly if search
results contain multiple accounts).
- optimization:
The script is painfully slow (100 issues in 0.5h), and I have not
profiled it yet.
- URLs:
I would like to convert Launchpad links occurring in the reports to
their Gitlab counterparts.
Other notes:
KiCad Janitor may retire after the migration, as Gitlab provides a way
to close issues using commit messages [4].
Cheers,
Orson
1. https://gitlab.com/orsonmmz/kicad-bug-tracker
2. https://gitlab.com/orsonmmz/kicad-bug-tracker/issues?scope=all&state=all
3. https://docs.gitlab.com/ee/api/#sudo
4.
https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#default-closing-pattern
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References