From patchwork Tue Mar 28 11:13:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1762278 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa header.b=lyAzRqsH; dkim=fail reason="signature verification failed" header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=S5HXM4D9; dkim-atps=neutral Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Pm6Wx6n3Pz1yYV for ; Tue, 28 Mar 2023 22:14:21 +1100 (AEDT) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 838103CCB32 for ; Tue, 28 Mar 2023 13:14:19 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-7.smtp.seeweb.it (in-7.smtp.seeweb.it [217.194.8.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 3D4643CCB2B for ; Tue, 28 Mar 2023 13:13:58 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-7.smtp.seeweb.it (Postfix) with ESMTPS id 1AFD6200AE5 for ; Tue, 28 Mar 2023 13:13:56 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 30E34219BC; Tue, 28 Mar 2023 11:13:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1680002036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hEhaBlrdDvjb45MeRKmyJd0osfX7BwCOi1yyw1fJi4A=; b=lyAzRqsHtUxs9pBpwN4oJptzCVUauJe0tSedXEjDga4QjaIWOTRbpnUTmvB0w9ScK16QLy o3afJhleJdMts0Rbzz+OplrvN9+f3Wo1hYRWI4VCuUyHuS1vh/FjFDlDB95K0g9OMOudSw N5fAR2O7LQ5JIpJ9IWLlPwLw9BuGdM4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1680002036; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hEhaBlrdDvjb45MeRKmyJd0osfX7BwCOi1yyw1fJi4A=; b=S5HXM4D9EV2hOx9vgDgNd9qG2XAYrMPIuPU8DYb/zkTo2OvVKO9E1E4aE/ifTH7iTmFMps yhAn6z0gPuhAl2Bg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B1F671390B; Tue, 28 Mar 2023 11:13:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id AKYMKvPLImR9CAAAMHmgww (envelope-from ); Tue, 28 Mar 2023 11:13:55 +0000 From: Petr Vorel To: ltp@lists.linux.it Date: Tue, 28 Mar 2023 13:13:38 +0200 Message-Id: <20230328111338.766712-3-pvorel@suse.cz> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230328111338.766712-1-pvorel@suse.cz> References: <20230328111338.766712-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-7.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on in-7.smtp.seeweb.it Subject: [LTP] [RFC PATCH 2/2] doc: Add Release procedure X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Palethorpe , Xiao Yang Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" This slightly outdated document exists in LTP wiki, start versioning it in the original repository. The only unversioned file in the wiki is now Home.rest. Signed-off-by: Petr Vorel --- This should be updated, so I'm ok not to merge it and prepare more up to date version (although I'd need Cyril's help). Also (separate effort), there is unversioned script, which could be added to git. And we could remove Makefile.release, which IMHO is not used (although it solves dependency: running autotools and distclean; maybe we could combine both: Add script and add make target which would run the script after solving the dependencies). Kind regards, Petr doc/LTP-Release-Procedure.asciidoc | 67 ++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 doc/LTP-Release-Procedure.asciidoc diff --git a/doc/LTP-Release-Procedure.asciidoc b/doc/LTP-Release-Procedure.asciidoc new file mode 100644 index 000000000..cd7682fb8 --- /dev/null +++ b/doc/LTP-Release-Procedure.asciidoc @@ -0,0 +1,67 @@ +LTP Release Procedure +===================== + +This page contains quick summary of what needs to be done to do a LTP release. It's expected that LTP git is frozen and git HEAD was properly tested and that LTP git tree is cloned to a directory named 'ltp'. + +NOTE: The string YYYYMMDD should be substituted to the current date. + +1. Tag the git +-------------- + +[source,sh] +-------------------------------------------------------------------- +cd ltp +echo YYYYMMDD > VERSION +git commit -s -m 'LTP YYYYMMDD' VERSION +git tag -a YYYYMMDD -m 'LTP YYYYMMDD' +-------------------------------------------------------------------- + +2. Push changes to github +------------------------- +[source,sh] +-------------------------------------------------------------------- +git push +git push --tags +-------------------------------------------------------------------- + +3. Prepare tarballs +------------------- +[source,sh] +-------------------------------------------------------------------- +cd .. +git clone ltp ltp-full-YYYYMMDD +cd ltp-full-YYYYMMDD +# Update mce-inject submodule +git submodule init +git submodule update +# Generate configure script +make autotools +# Prepare the archives +cd .. +tar -cjf ltp-full-YYYYMMDD.tar.bz2 ltp-full-YYYYMMDD --exclude .git +tar -cJf ltp-full-YYYYMMDD.tar.xz ltp-full-YYYYMMDD --exclude .git +-------------------------------------------------------------------- + +4. Upload the tarballs to GitHub +-------------------------------- + +Click on 'releases' then switch to 'tags' then click on 'Add release notes' there should be 'Attach binaries ...' link at the bottom of the page. + +Don't forget to upload md5 and sha-1 sums for the tarballs as well. + +5. Send release announcement +---------------------------- + +Have a look at http://sourceforge.net/p/ltp/mailman/message/34429656/ to get the idea how it should look. + +The announcement is send to: + +* ltp at lists.linux.it +* linux-kernel at vger.kernel.org +* libc-alpha at sourceware.org + +CCed to: + +* lwn at lwn.net +* akpm at linux-foundation.org +* torvalds at linux-foundation.org. \ No newline at end of file