[Pkg-shadow-devel] [Git][debian/adduser][wip/improve-testsuite] 36 commits: adduser (3.154) unstable; urgency=medium

Marc Haber (@zugschlus) gitlab at salsa.debian.org
Mon Jun 1 07:19:04 BST 2026



Marc Haber pushed to branch wip/improve-testsuite at Debian / adduser


Commits:
ef6077b8 by Marc Haber at 2026-01-01T00:00:10+01:00
adduser (3.154) unstable; urgency=medium

  * The Happy New Year 2026 Release

  [ Matt Barry ]
  * add --no-copy-skel option (Closes: #1099633)
  * document --no-copy-skel
  * refactor existing_*_ok

  [ Marc Haber ]
  * make deluser --group work as documented.
  * have delgroup reject user-specific command line options.
  * correctly sanitize names in deluser.
    Thanks to Dagfinn Ilmari Mannsåker (Closes: #1109329)
  * update Swedish program and man page translation.
    Thanks to Daniel Nylander <daniel at danielnylander.se>
  * make adduser error out if --system and account has a password
    (Closes: #1099734)

[dgit import package adduser 3.154]

- - - - -
9b462650 by Marc Haber at 2026-01-24T18:05:09+01:00
man page improvements for adduser.8

Closes: #1124790
Thanks: Bjarni Ingi Gislason

- - - - -
53f66175 by Marc Haber at 2026-01-24T18:05:09+01:00
apply correcting patch from #1105900

Thanks: Bjarni Ingi Gislason
Closes: #1105900

- - - - -
77e792df by Marc Haber at 2026-03-27T10:14:08+01:00
write test cases to trigger #1125601

- - - - -
fa4b3466 by Marc Haber at 2026-03-27T10:14:08+01:00
rework config reading and check *_dir_mode

this makes sure that dir_mode and sys_dir_mode is verified valid octal
improve perl code

Git-Dch: ignore

- - - - -
d96e86fa by Marc Haber at 2026-03-27T10:14:08+01:00
allow deluser to delete files with UTF-8 file name

We don't do anything dangerous with those file names, so we can
just untaint them regaring of what chars they contain
Git-Dch: ignore

- - - - -
753db0ba by Marc Haber at 2026-03-27T10:14:08+01:00
fix very strange cut&paste accident

Git-Dch: ignore

- - - - -
c9893992 by Marc Haber at 2026-03-27T10:14:08+01:00
allow /etc/skel to contain files with UTF-8 file names

This moves home dir creation to a new module AdduserCreateHomedir

Closes: #1125681
Thanks: Mert Ok

- - - - -
2c01d6d9 by Marc Haber at 2026-03-27T10:14:08+01:00
update copyright year

Git-Dch: Ignore

- - - - -
ef1fcf84 by Marc Haber at 2026-03-27T10:14:08+01:00
use new create_homedir()

Git-Dch: ignore

- - - - -
8b28a9c3 by Marc Haber at 2026-03-27T10:14:08+01:00
remove functions that have been moved to AdduserCreateHomedir

Git-Dch: ignore

- - - - -
aa90dad5 by Marc Haber at 2026-03-27T10:33:35+01:00
copy over find_unused_* functions from upstream testsuites

Closes: #1015781

- - - - -
e3bca5b4 by Marc Haber at 2026-03-27T10:33:35+01:00
rewrite find_unused_name

Git-Dch: ignore

- - - - -
1457deeb by Marc Haber at 2026-03-27T10:36:28+01:00
adapt indent to 4 spaces

Git-Dch: ignore

- - - - -
0452d690 by Marc Haber at 2026-03-27T10:36:28+01:00
adapt upstream tests to new find_unused_name signature

and give mode identifyable test user names

Git-Dch: ignore

- - - - -
19046fc8 by Marc Haber at 2026-03-27T10:36:28+01:00
modify clones.t to use find_unused_name

Git-Dch: ignore

- - - - -
550b7951 by Marc Haber at 2026-03-27T21:54:21+01:00
changelog

- - - - -
9f51b00a by Marc Haber at 2026-03-28T10:20:53+01:00
prepare release

- - - - -
da27998e by Marc Haber at 2026-03-28T10:21:10+01:00
fix typo in Portuguese

Git-Dch: ignore

- - - - -
a7de708b by Marc Haber at 2026-03-28T10:16:28+01:00
Declare fast forward from 3.154

[dgit --overwrite]

- - - - -
259fed18 by Marc Haber at 2026-06-01T05:51:57+02:00
clarify adduser pool format documentation

Git-Dch: ignore

- - - - -
b979e1ef by Marc Haber at 2026-06-01T05:51:57+02:00
remove trailing slashes from example pool directories

Git-Dch: ignore

- - - - -
402b47dd by Marc Haber at 2026-06-01T05:51:57+02:00
ignore extra fields at the end of pool file lines

- - - - -
febb7a47 by Marc Haber at 2026-06-01T05:51:57+02:00
clarify pool file read warnings

Git-Dch: ignore

- - - - -
87fdeaad by Marc Haber at 2026-06-01T05:51:57+02:00
remove trailing slaehes from pool directories

Git-Dch: ignore

- - - - -
215f4b7b by Marc Haber at 2026-06-01T06:06:59+02:00
streamline log level names.

Closes: #1132881

- - - - -
46250627 by Marc Haber at 2026-06-01T06:23:21+02:00
demote "crontab not found" warning to info

it is now perfectly normal to run a system that doesn't have cron

- - - - -
b2eedf89 by Marc Haber at 2026-06-01T07:07:25+02:00
prepare release

Git-Dch: ignore

- - - - -
b139f106 by Marc Haber at 2026-06-01T08:13:55+02:00
remove unused get_dir_mode

Git-Dch: ignore

- - - - -
9b7314cd by Marc Haber at 2026-06-01T08:14:03+02:00
add empty 00test to verify that the lib is okay

Git-Dch: ignore

- - - - -
039bbc7e by Marc Haber at 2026-06-01T08:14:03+02:00
make AdduserTestsCommon a proper module

Git-Dch: ignore

- - - - -
0a355dc1 by Marc Haber at 2026-06-01T08:14:03+02:00
improve existing test helper functions

This also adds cleanup_user and cleanup_tree

Git-Dch: ignore

- - - - -
af354ad5 by Marc Haber at 2026-06-01T08:14:03+02:00
add cleanup class to help cleaning up after tests

Git-Dch: ignore

- - - - -
0c82dcc4 by Marc Haber at 2026-06-01T08:14:03+02:00
add code to do better home directory tests

this pulls part of the skel.t to the library so that other tests
can work with strange files in /etc/skel, this might help debugging
code that handles the home directory contents

Git-Dch: ignore

- - - - -
c3cbc5f6 by Marc Haber at 2026-06-01T08:14:03+02:00
make skel.t use the new Common functions

Git-Dch: ignore

- - - - -
8f305535 by Marc Haber at 2026-06-01T08:14:03+02:00
adapt three tests to use the new cleanup class

Git-Dch: ignore

- - - - -


31 changed files:

- AdduserCommon.pm
- + AdduserCreateHomedir.pm
- adduser
- adduser.conf
- debian/NEWS
- debian/changelog
- debian/copyright
- debian/rules
- + debian/tests/f/00test.t
- debian/tests/f/addusertogroup_underscore.t
- debian/tests/f/clones.t
- debian/tests/f/deluser_quiet.t
- debian/tests/f/skel.t
- debian/tests/f/uidgidpool.t
- debian/tests/lib/AdduserTestsCommon.pm
- deluser
- doc/adduser.8
- doc/adduser.conf.5
- doc/adduser.local.8
- testsuite/lib_test.pm
- testsuite/test01.pl
- testsuite/test02.pl
- testsuite/test03.pl
- testsuite/test04.pl
- testsuite/test05.pl
- testsuite/test06.pl
- testsuite/test07.pl
- testsuite/test08.pl
- testsuite/test09.pl
- testsuite/test10.pl
- testsuite/test11.pl


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/debian/adduser/-/compare/034bc07c4fdeb045c9e6178294e363ef662ef59b...8f30553550bd9eeab3cf531541272235048a263b

-- 
View it on GitLab: https://salsa.debian.org/debian/adduser/-/compare/034bc07c4fdeb045c9e6178294e363ef662ef59b...8f30553550bd9eeab3cf531541272235048a263b
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20260601/95ef0419/attachment-0001.htm>


More information about the Pkg-shadow-devel mailing list