Jump to content

Gerrit yama yükleyici

From mediawiki.org
This page is a translated version of the page Gerrit patch uploader and the translation is 71% complete.

Gerrit yama yükleyicisi, bu vikide (MediaWiki.org) bir hesabı olan kullanıcıların Geliştirici hesabına ihtiyaç duymadan yamaları doğrudan gerrit ile yüklemelerine izin verir ve Git komutları kullanmaya gerek kalmaz.

Yükleyiciye gidin: https://gerrit-patch-uploader.toolforge.org/.

Servis

Gerrit yama yükleyicisi, Valhallasw tarafından oluşturulan bir Toolforge aracıdır.

Örnek kullanımı

Test yamacını test/test deposu'na göndermek için, aşağıdaki adımları izleyin:

  1. Go to https://gerrit-patch-uploader.toolforge.org/
  2. Projeyi seç test/test
  3. Yazar bilgilerini doldurun, örneğin: Benim adım <myname@example.com>
  4. Fill in a commit message, for example: Testing Gerrit Patch Uploader
  5. Paste a patch in the patch field as generated by one of the listed commands, for example:
    From 932aa75da0cd47ed43739c5b01195565e8e9bd17 Mon Sep 17 00:00:00 2001
    From: My Name <myname@example.com>
    Date: Sat, 2 Nov 2024 16:02:32 +0100
    Subject: [PATCH] Testje
    
    ---
     cookies.txt | 1 +
     1 file changed, 1 insertion(+)
     create mode 100644 cookies.txt
    
    diff --git a/cookies.txt b/cookies.txt
    new file mode 100644
    index 0000000..5ab2f8a
    --- /dev/null
    +++ b/cookies.txt
    @@ -0,0 +1 @@
    +Hello
    \ No newline at end of file
    --
    2.47.0.windows.2
    
  6. "Summit" basın

The tool will now upload your patch and will redirect you to the new Gerrit review page.

Yüklenen bir düzeltme ekini değiştirme

Varolan bir düzeltme ekinde değişiklik yapmak için Gerrit sayfasından Change-Id satırını kopyalayın ve kesinleştirme iletinizin altına ekleyin. Fill in the patch uploader fields as below but add the Change-Id from the Gerrit page as last line of the commit message.

Örneğin, https://gerrit.wikimedia.org/r/96693 yeni bir yama eklemek için yama yükleyiciyi her zamanki gibi doldurun, ancak tamamlama mesajı alanının altına aşağıdaki metni ekleyin:

Change-Id: I0c31cd68dc372ed38f461e430c135350a1581828

So that it looks something like this:

Ported protect.py from pywikibot compat to core

Made minor changes to protect.py to allow it to run on pywikibot/core

Change-Id: I0c31cd68dc372ed38f461e430c135350a1581828

Gerrit yama yükleyici, Gerrit'te mevcut değişikliği bulmak ve yeni bir değişiklik sayfası oluşturmak yerine (yañı bir değişiklik sayfası) yeni bir sürüm eklemek için "Change-ID" kullanır.