2021-12-26 22:29:28 +00:00
# SPDX-FileCopyrightText: 2021-2022 Ole Tange, http://ole.tange.dk and Free Software and Foundation, Inc.
2021-04-22 16:20:41 +00:00
# SPDX-License-Identifier: GFDL-1.3-or-later
# SPDX-License-Identifier: CC-BY-SA-4.0
2010-06-05 23:03:39 +00:00
= Notes on how to release new version =
2011-07-18 16:29:37 +00:00
== alpha/beta/production ==
2014-09-22 16:26:25 +00:00
Check that documentation is updated (compare to web):
2011-07-18 16:29:37 +00:00
2022-08-22 20:53:07 +00:00
git checkout master
2018-03-24 23:19:08 +00:00
git grep -E '(alpha|beta) testing' | cat
2019-04-21 18:16:33 +00:00
git diff $(date --date="last month" +%Y%m22)
2011-07-18 16:29:37 +00:00
Unmodified beta since last version => production
2011-08-21 23:01:57 +00:00
Unmodified alpha since last version => beta
Modified => alpha
2011-07-18 16:29:37 +00:00
2020-05-31 14:42:04 +00:00
== Update NEWS ==
2010-06-05 23:03:39 +00:00
2020-05-31 14:42:04 +00:00
With the same things that goes in the announce mail
2020-05-23 18:04:09 +00:00
2020-05-31 14:42:04 +00:00
== Testsuite ==
2014-05-23 17:57:04 +00:00
2021-01-21 20:01:30 +00:00
Start termux on Android
Start: wssh mac ping fi.dk
2022-12-15 21:30:15 +00:00
niceload --prg firefox &
2023-10-16 11:47:02 +00:00
cd testsuite;
# With 23 GB RAM free this takes 3m43s
make mem;
# Estimated time: 13m
make long
# Estimated time: 42m
make short
2020-05-23 18:04:09 +00:00
2020-05-31 14:42:04 +00:00
== Update version ==
2010-06-05 23:03:39 +00:00
2020-05-31 14:42:04 +00:00
https://zenodo.org/deposit/new
2010-06-05 23:03:39 +00:00
2023-10-16 11:47:02 +00:00
Do you already have a DOI for this upload? No
2023-12-23 18:42:22 +00:00
(Get a DOI now!)
2023-10-16 11:47:02 +00:00
Resource type: Software
2020-08-07 20:20:30 +00:00
GNU Parallel 20xxxx22 ('Xxxx')
2023-10-16 11:47:02 +00:00
Add creator: Person
2020-10-26 19:41:00 +00:00
Tange, Ole
2020-05-31 14:42:04 +00:00
https://orcid.org/0000-0002-6345-1437
2023-10-16 11:47:02 +00:00
Role: Contact person
2020-05-31 14:42:04 +00:00
Description
GNU Parallel is a general parallelizer to run multiple serial command line programs in parallel without changing them.
2010-06-05 23:03:39 +00:00
2020-05-31 14:42:04 +00:00
License:
2023-10-16 11:47:02 +00:00
gpl
2010-07-18 02:17:49 +00:00
2020-05-31 14:42:04 +00:00
[Save]
2010-07-18 02:17:49 +00:00
2020-12-30 12:42:02 +00:00
2023-12-23 18:42:22 +00:00
DOI=10.5281/zenodo.4381888
2021-04-22 16:20:41 +00:00
SPCTAG='Privacy Shield'
2010-06-05 23:03:39 +00:00
2020-05-31 14:42:04 +00:00
# Update version
. packager/releasescripts/updateversion
2010-06-05 23:03:39 +00:00
2020-11-22 15:22:54 +00:00
# Load doi+tag in other window
. .last-doitag.txt
2020-05-31 14:42:04 +00:00
=== Reconfig autoconf/automake, build tar.bz2 and test it ===
2010-08-22 09:00:52 +00:00
2021-04-22 16:20:41 +00:00
. .last-doitag.txt
2020-05-31 14:42:04 +00:00
make reconf &&
make pack_unpack_and_test_build
2010-08-22 09:00:52 +00:00
2010-06-05 23:03:39 +00:00
== Upload ==
2020-11-22 15:22:54 +00:00
. .last-doitag.txt
2015-04-22 23:16:59 +00:00
eval `gpg-agent --daemon`
2017-01-21 17:36:17 +00:00
# Takes up to 8 minutes
2015-01-21 21:24:23 +00:00
make upload
2015-01-11 22:08:23 +00:00
2015-01-21 21:24:23 +00:00
# Only needed for alpha:
2020-11-22 15:22:54 +00:00
. .last-doitag.txt
2015-01-21 21:24:23 +00:00
eval `gpg-agent --daemon`
2017-02-21 23:30:36 +00:00
# Takes up to 8 minutes
make alphaupload
2013-05-16 20:49:17 +00:00
2011-07-22 09:08:58 +00:00
== Update OpenSUSE build system ==
2020-11-22 15:22:54 +00:00
. .last-doitag.txt
2011-07-22 09:08:58 +00:00
cd ~/privat/parallel/packager/obs
2013-09-18 00:00:10 +00:00
2022-07-01 17:54:21 +00:00
find home-tange/parallel/* -type f |
2023-10-16 11:47:02 +00:00
grep -Ev '(PKGBUILD|parallel.spec|Makefile)' |
2020-05-31 14:42:04 +00:00
parallel -j1 'osc rm {} || rm {}'
2011-07-22 09:08:58 +00:00
# This should not create new files
2022-07-24 07:13:30 +00:00
osc up home-tange/parallel/
2011-07-22 09:08:58 +00:00
make
# Reload build-status:
2017-06-22 12:22:23 +00:00
https://build.opensuse.org/package/show/home:tange/parallel
2011-07-25 22:12:46 +00:00
# Check that one .deb (Debian 5.0) and one .rpm (CentOS) end with 'succeeded'
2011-07-22 09:08:58 +00:00
2021-04-22 16:20:41 +00:00
== Upload LBRY ==
2021-05-22 23:18:09 +00:00
lbry://@GnuParallel#4/parallel-20210322.tar.bz2
2021-04-22 16:20:41 +00:00
2021-07-11 14:59:27 +00:00
# An easy way to support GNU Parallel is to tip on LBRY.
#
# :
#
# If you like GNU Parallel record a video testimonial: Say who you are, what you use GNU Parallel for, how it helps you, and what you like most about it. Include a command that uses GNU Parallel if you feel like it.
#
# Thumbnail: https://www.gnu.org/software/parallel/logo-gray+black10000.png
#
# Tags: gnu parallel software
2021-04-22 16:20:41 +00:00
2021-08-22 20:05:37 +00:00
. .last-doitag.txt
2021-07-22 20:31:06 +00:00
file_path="`pwd`/parallel-$YYYYMMDD.tar.bz2"
2023-01-22 18:15:38 +00:00
title="GNU Parallel $YYYYMMDD ('$SPCTAG') [stable]"
2023-06-04 07:46:04 +00:00
2023-04-22 20:57:46 +00:00
title="GNU Parallel $YYYYMMDD ('$SPCTAG')"
2021-07-22 20:31:06 +00:00
name="GNU-Parallel-$YYYYMMDD-$TAG"
2021-06-22 17:40:07 +00:00
author="Ole Tange"
license="GNU GPLv3 or later"
thumbnail_url=https://www.gnu.org/software/parallel/logo-gray+black10000.png
channel_name="@GnuParallel"
tags_opt='--tag gnu --tag parallel --tag free --tag software'
2021-07-11 14:59:27 +00:00
description="An easy way to support GNU Parallel is to tip on LBRY.
2021-06-22 17:40:07 +00:00
2021-07-11 14:59:27 +00:00
$(perl -ne '/About\sGNU\sParallel/ and exit;/It\sis\savailable/..0 and print' doc/release_new_version)
2021-06-22 17:40:07 +00:00
"
2023-03-22 23:32:13 +00:00
echo "$description" | grep '<<.*>>' && echo STOP STOP STOP ||
2021-07-11 14:59:27 +00:00
echo "$description"
2021-04-22 16:20:41 +00:00
lbrynet publish \
--bid=0.01 \
--file_path="$file_path" \
--name="$name" \
--title="$title" \
--description="$description" \
--author="$author" \
$languages_opt \
$tags_opt \
--license="$license" \
--thumbnail_url="$thumbnail_url" \
--channel_name="$channel_name" \
2021-07-11 14:59:27 +00:00
# --release_time="$release_time" \
2021-04-22 16:20:41 +00:00
2010-06-08 14:13:20 +00:00
== Update website ==
http://www.gnu.org/software/parallel/
http://www.gnu.org/software/parallel/man.html
2010-12-21 17:08:16 +00:00
http://www.gnu.org/software/parallel/sql.html
http://www.gnu.org/software/parallel/sem.html
2017-04-22 21:23:24 +00:00
http://www.gnu.org/software/parallel/env_parallel.html
http://www.gnu.org/software/parallel/parcat.html
2020-04-22 18:15:59 +00:00
http://www.gnu.org/software/parallel/parset.html
http://www.gnu.org/software/parallel/parsort.html
2010-12-21 17:08:16 +00:00
http://www.gnu.org/software/parallel/niceload.html
2010-06-08 14:13:20 +00:00
2021-08-03 20:50:03 +00:00
make web
2021-07-22 20:31:06 +00:00
cp -r src/*.pdf src/sphinx/build/html/* ../parallel-web/parallel
cp ../parallel-web/parallel/parallel.html ../parallel-web/parallel/man.html
2013-09-20 23:25:06 +00:00
2011-07-22 09:08:58 +00:00
pushd ../parallel-web/parallel
2019-04-21 18:16:33 +00:00
# Bug at Savannah makes this take 30 seconds
2021-03-22 20:16:35 +00:00
(cd ..;
2022-11-24 21:22:37 +00:00
cvs -z3 -d:ext:tange@cvs.savannah.gnu.org:/web/parallel co parallel)
cvs up
cvs ci -m "New release"
2011-07-22 09:08:58 +00:00
pushd
2010-06-08 14:13:20 +00:00
2011-03-22 00:44:50 +00:00
== Commit released version ==
git diff
2013-09-18 00:00:10 +00:00
2020-05-08 01:35:51 +00:00
# Recheck OBS https://build.opensuse.org/package/show/home:tange/parallel
2014-03-23 00:07:18 +00:00
2020-12-07 15:24:54 +00:00
. .last-doitag.txt
2017-04-01 00:59:07 +00:00
echo "Released as $YYYYMMDD ('$TAG')." | grep MyTag && (STOP;STOP;STOP)
2017-10-09 22:33:43 +00:00
echo "$TAG" | grep ' ' && (STOP;STOP;STOP)
2021-04-22 16:20:41 +00:00
echo "Released as $YYYYMMDD ('$SPCTAG')."
2015-03-24 23:14:50 +00:00
2021-04-22 16:20:41 +00:00
git commit -a -m "Released as $YYYYMMDD ('$SPCTAG')"
git tag -s -u 88888888 -m "Released as $YYYYMMDD ('$SPCTAG')" $TAG
git tag -s -u 88888888 -m "Released as $YYYYMMDD ('$SPCTAG')" $YYYYMMDD
2014-04-09 03:11:51 +00:00
2019-04-21 18:16:33 +00:00
torsocks git push
torsocks git push origin $TAG
torsocks git push origin $YYYYMMDD
2014-08-24 15:19:17 +00:00
2022-11-02 19:09:16 +00:00
git branch -d premaster
git branch premaster
2020-05-31 14:42:04 +00:00
== Zenodo ==
2020-08-29 20:12:46 +00:00
Add tar.bz2 [Start upload] and [Publish].
2018-07-22 06:58:32 +00:00
2014-08-24 15:19:17 +00:00
== Update documentation ==
Update version number + 1
2016-03-22 23:20:42 +00:00
2020-05-31 14:42:04 +00:00
export YYYYMMDD=`yyyymmdd`
export YYYYMMDD=${YYYYMMDD:0:6}23
2019-01-25 05:16:35 +00:00
echo $YYYYMMDD
2016-03-22 23:20:42 +00:00
perl -i -pe "/version/ and s/20\d\d\d\d\d\d/$YYYYMMDD/" src/parallel
perl -i -pe "/version/ and s/20\d\d\d\d\d\d/$YYYYMMDD/" src/sql
2020-10-26 19:41:00 +00:00
perl -i -pe "/version/ and s/20\d\d\d\d\d\d/$YYYYMMDD/" src/env_parallel*
2020-08-29 20:12:46 +00:00
perl -i -pe "/version/ and s/20\d\d\d\d\d\d/$YYYYMMDD/" src/parsort
2016-03-22 23:20:42 +00:00
perl -i -pe "/version/ and s/20\d\d\d\d\d\d/$YYYYMMDD/" src/niceload
2014-08-24 15:19:17 +00:00
Unmodified beta since last version => production
Unmodified alpha since last version => beta
Modified => alpha
2018-07-22 06:58:32 +00:00
== Check URLs ==
make testurls
2021-03-22 20:16:35 +00:00
== Check REUSE ==
make reuse
https://api.reuse.software/info/git.savannah.gnu.org/git/parallel
https://api.reuse.software/status/git.savannah.gnu.org/git/parallel
2018-07-22 06:58:32 +00:00
2011-07-25 22:12:46 +00:00
== Update Savannah ==
2014-05-03 22:42:52 +00:00
file:///home/tange/privat/parallel/doc/release_new_version
2011-07-25 22:12:46 +00:00
Content from release mail:
https://savannah.gnu.org/news/submit.php?group=parallel
2015-08-22 10:05:56 +00:00
Test URLs.
2011-07-25 22:12:46 +00:00
https://savannah.gnu.org/news/approve.php?group=parallel
2010-06-05 23:03:39 +00:00
== Update Freshmeat ==
2014-06-25 23:16:54 +00:00
// FreeCode is dying
2010-06-05 23:03:39 +00:00
http://freshmeat.net/projects/parallel/releases/new
2022-11-08 23:09:33 +00:00
== Update Mastodon Twitter ==
2022-12-15 21:30:15 +00:00
https://hostux.social/@GNU_Parallel
2010-11-13 16:04:58 +00:00
2021-08-03 20:50:03 +00:00
New release of #GNU Parallel pi.dk/0
New in this release pi.dk/2
See the intro videos pi.dk/1
2024-06-27 11:43:58 +00:00
10 secs installation: pi.dk/3
2010-11-13 16:04:58 +00:00
2013-09-20 23:25:06 +00:00
GNU Parallel - for people who live life in the parallel lane.
2010-06-05 23:03:39 +00:00
== Send announce ==
2010-06-25 23:56:14 +00:00
http://groups.google.com/group/comp.unix.shell/post
2013-06-30 16:11:36 +00:00
http://groups.google.com/group/comp.unix.admin/post
2010-06-14 22:05:47 +00:00
2011-04-23 12:01:22 +00:00
https://lists.gnu.org/mailman/admindb/bug-parallel
https://lists.gnu.org/mailman/admindb/parallel
2014-02-22 10:32:42 +00:00
file:///home/tange/privat/parallel/doc/release_new_version
2020-09-19 14:47:01 +00:00
For codename look at https://www.onthisday.com/
2010-09-01 13:26:45 +00:00
from:tange@gnu.org
2012-01-07 01:24:50 +00:00
to:parallel@gnu.org, bug-parallel@gnu.org
2017-08-12 16:37:52 +00:00
stable-bcc: Jesse Alama <jessealama@fastmail.fm>
2024-07-21 03:21:21 +00:00
Subject: GNU Parallel 20240722 ('Assange') released [stable]
2014-05-22 12:53:33 +00:00
2024-06-27 11:43:58 +00:00
GNU Parallel 20240722 ('Assange') has been released. It is available for download at: lbry://@GnuParallel:4
2021-01-17 11:19:57 +00:00
2022-04-25 23:05:44 +00:00
Quote of the month:
2022-04-23 09:38:57 +00:00
2024-07-21 03:21:21 +00:00
parallel is frickin great for launching jobs on multiple
machines. Ansible and Jenkins and others may be good too but I was
able to jump right in with parallel.
-- dwhite21787@reddit
2024-06-27 11:43:58 +00:00
2023-07-21 02:33:22 +00:00
New in this release:
2023-02-03 15:37:25 +00:00
2024-07-21 03:21:21 +00:00
* No new features. This is a candidate for a stable release.
2024-06-27 11:43:58 +00:00
2023-07-21 02:33:22 +00:00
* Bug fixes and man page updates.
2018-09-06 15:00:29 +00:00
2023-07-24 06:34:58 +00:00
News about GNU Parallel:
2024-07-21 03:21:21 +00:00
* Scientific Workflows at Scale using GNU Parallel https://web.cvent.com/event/f318e73c-2230-432a-a044-b75625020543/websitePage:afd80266-008e-414b-9f94-2fd9b4dd1924?session=fe79a785-ec60-414c-8d2b-c29208f53d4c&shareLink=true
2024-07-16 16:42:28 +00:00
2024-07-21 03:21:21 +00:00
* Use GNU Parallel to render blender movies distributed by a bunch of nodes https://github.com/tfmoraes/blender_gnu_parallel_render
2024-07-16 16:42:28 +00:00
2024-07-21 03:21:21 +00:00
* Lessons Learned from Scaling to Multi-Terabyte Datasets https://v2thegreat.com/2024/06/19/lessons-learned-from-scaling-to-multi-terabyte-datasets/
2024-07-16 16:42:28 +00:00
2024-07-21 03:21:21 +00:00
* Efisiensi Maksimal: Cara Paralelisasi Perintah di CLI Linux https://medium.com/@nfrozi/efisiensi-maksimal-cara-paralelisasi-perintah-di-cli-linux-f4fda3afe2a0
2024-07-05 05:15:15 +00:00
2024-07-21 03:21:21 +00:00
* Introduction to GNU parallel https://datascience.101workbook.org/06-hpc/06-parallel/01-intro-to-gnu-parallel/#gsc.tab=0
2024-07-05 05:15:15 +00:00
2023-07-23 12:31:07 +00:00
2014-05-03 22:42:52 +00:00
GNU Parallel - For people who live life in the parallel lane.
2011-03-01 22:04:15 +00:00
2020-12-30 12:42:02 +00:00
If you like GNU Parallel record a video testimonial: Say who you are, what you use GNU Parallel for, how it helps you, and what you like most about it. Include a command that uses GNU Parallel if you feel like it.
2020-10-12 23:17:14 +00:00
2014-05-23 17:57:04 +00:00
2010-06-05 23:03:39 +00:00
= About GNU Parallel =
2016-01-28 22:45:11 +00:00
GNU Parallel is a shell tool for executing jobs in parallel using one or more computers. A job can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU Parallel can then split the input and pipe it into commands in parallel.
2011-01-27 21:56:59 +00:00
2014-01-25 22:29:25 +00:00
If you use xargs and tee today you will find GNU Parallel very easy to use as GNU Parallel is written to have the same options as xargs. If you write loops in shell, you will find GNU Parallel may be able to replace most of the loops and make them run faster by running several jobs in parallel. GNU Parallel can even replace nested loops.
2010-06-05 23:03:39 +00:00
2014-01-25 22:29:25 +00:00
GNU Parallel makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU Parallel as input for other programs.
2010-06-05 23:03:39 +00:00
2019-07-31 20:38:30 +00:00
For example you can run this to convert all jpeg files into png and gif files and have a progress bar:
parallel --bar convert {1} {1.}.{2} ::: *.jpg ::: png gif
Or you can generate big, medium, and small thumbnails of all jpeg files in sub dirs:
find . -name '*.jpg' |
parallel convert -geometry {2} {1} {1//}/thumb{2}_{1/} :::: - ::: 50 100 200
2014-01-25 22:29:25 +00:00
You can find more about GNU Parallel at: http://www.gnu.org/s/parallel/
2010-06-14 22:05:47 +00:00
2018-12-28 11:47:25 +00:00
You can install GNU Parallel in just 10 seconds with:
2019-07-31 20:38:30 +00:00
$ (wget -O - pi.dk/3 || lynx -source pi.dk/3 || curl pi.dk/3/ || \
fetch -o - http://pi.dk/3 ) > install.sh
2022-02-22 21:55:41 +00:00
$ sha1sum install.sh | grep 883c667e01eed62f975ad28b6d50e22a
12345678 883c667e 01eed62f 975ad28b 6d50e22a
$ md5sum install.sh | grep cc21b4c943fd03e93ae1ae49e28573c0
cc21b4c9 43fd03e9 3ae1ae49 e28573c0
$ sha512sum install.sh | grep ec113b49a54e705f86d51e784ebced224fdff3f52
79945d9d 250b42a4 2067bb00 99da012e c113b49a 54e705f8 6d51e784 ebced224
fdff3f52 ca588d64 e75f6033 61bd543f d631f592 2f87ceb2 ab034149 6df84a35
2019-07-31 20:38:30 +00:00
$ bash install.sh
2013-04-27 09:09:46 +00:00
2014-01-25 22:29:25 +00:00
Watch the intro video on http://www.youtube.com/playlist?list=PL284C9FF2488BC6D1
2013-09-18 00:00:10 +00:00
2018-12-28 11:47:25 +00:00
Walk through the tutorial (man parallel_tutorial). Your command line will love you for it.
2010-06-14 22:05:47 +00:00
2014-01-25 22:29:25 +00:00
When using programs that use GNU Parallel to process data for publication please cite:
2011-03-14 16:37:30 +00:00
2018-10-22 22:46:38 +00:00
O. Tange (2018): GNU Parallel 2018, March 2018, https://doi.org/10.5281/zenodo.1146014.
2011-05-13 12:02:03 +00:00
2014-10-07 22:27:13 +00:00
If you like GNU Parallel:
* Give a demo at your local user group/team/colleagues
* Post the intro videos on Reddit/Diaspora*/forums/blogs/ Identi.ca/Google+/Twitter/Facebook/Linkedin/mailing lists
2018-03-24 23:19:08 +00:00
* Get the merchandise https://gnuparallel.threadless.com/designs/gnu-parallel
2014-10-07 22:27:13 +00:00
* Request or write a review for your favourite blog or magazine
* Request or build a package for your favourite distribution (if it is not already there)
* Invite me for your next conference
2016-05-22 20:43:53 +00:00
If you use programs that use GNU Parallel for research:
2014-10-07 22:27:13 +00:00
2016-05-22 20:43:53 +00:00
* Please cite GNU Parallel in you publications (use --citation)
2014-10-07 22:27:13 +00:00
If GNU Parallel saves you money:
* (Have your company) donate to FSF https://my.fsf.org/donate/
2011-05-13 12:02:03 +00:00
= About GNU SQL =
2014-01-25 22:29:25 +00:00
GNU sql aims to give a simple, unified interface for accessing databases through all the different databases' command line clients. So far the focus has been on giving a common way to specify login information (protocol, username, password, hostname, and port number), size (database and table size), and running queries.
2011-05-13 12:02:03 +00:00
2014-01-25 22:29:25 +00:00
The database is addressed using a DBURL. If commands are left out you will get that database's interactive shell.
2011-05-13 12:02:03 +00:00
When using GNU SQL for a publication please cite:
2014-01-25 22:29:25 +00:00
O. Tange (2011): GNU SQL - A Command Line Tool for Accessing Different Databases Using DBURLs, ;login: The USENIX Magazine, April 2011:29-32.
2011-07-25 22:12:46 +00:00
= About GNU Niceload =
2022-02-23 20:19:12 +00:00
GNU niceload slows down a program when the computer load average (or other system activity) is above a certain limit. When the limit is reached the program will be suspended for some time. If the limit is a soft limit the program will be allowed to run for short amounts of time before being suspended again. If the limit is a hard limit the program will only be allowed to run when the system is below the limit.