Commit graph

5779 commits

Author SHA1 Message Date
Darko Poljak
4bec22d726 Revert changes in for loop because param value is changed. 2018-09-30 14:45:47 +02:00
Darko Poljak
33a0e05e3d Revert changes in for loop because param value is changed. 2018-09-30 14:45:47 +02:00
Darko Poljak
1388487199 Clean quotes; su - -> su -l 2018-09-30 14:45:47 +02:00
Darko Poljak
62f1e1db00 Applying uqam-fob's suggestions. 2018-09-30 14:43:39 +02:00
Darko Poljak
b55520e987 Applying uqam-fob's suggestions. 2018-09-30 14:43:39 +02:00
Darko Poljak
775d3dfc2c shellcheck fixes 2018-09-30 14:43:07 +02:00
Darko Poljak
309315910e Add shellcheck makefile target. 2018-09-30 14:42:38 +02:00
Darko Poljak
6d0e1a2e73 --tmpdir -> TMPDIR env var 2018-09-30 14:42:38 +02:00
Darko Poljak
3759a37fbd Fix tr reading from file. 2018-09-30 14:42:38 +02:00
Darko Poljak
b371c42d53 shellcheck 2018-09-30 14:42:37 +02:00
Darko Poljak
e551348cd7 Create man7 directory if needed. 2018-09-29 11:15:48 +02:00
Darko Poljak
9cb9771e33 Exclude man7 empty directory from archive. 2018-09-29 11:15:29 +02:00
Darko Poljak
f705fe8fc6
Merge pull request #692 from darko-poljak/log-timestamping-config
Add timestamping log option to config file.
2018-09-28 14:22:59 +02:00
Darko Poljak
82077aff25 Add timestamping log option to config file. 2018-09-27 18:55:33 +02:00
Darko Poljak
e404ff4836 ++changelog 2018-09-26 20:35:32 +02:00
Darko Poljak
1e34fc20be
Merge pull request #691 from darko-poljak/log-timestamping
Add timestamp to log messages.
2018-09-26 20:35:14 +02:00
Darko Poljak
c04325fdc5 ++changelog 2018-09-23 22:26:16 +02:00
Darko Poljak
4b9994f134
Merge pull request #690 from myeisha/batch-scp
transfer all files of a directory at once
2018-09-23 22:22:57 +02:00
Darko Poljak
0c57b3083e Fix getting loggers. 2018-09-23 21:38:03 +02:00
Darko Poljak
6acf6f64dc Add timestamp to log messages. 2018-09-23 20:36:57 +02:00
Darko Poljak
02982ca8be Release 4.10.3 2018-09-23 12:04:57 +02:00
Darko Poljak
1f703ab42e ++changelog 2018-09-22 20:52:43 +02:00
Darko Poljak
9b6ed0adc7
Merge pull request #689 from myeisha/deduplicate-mkdir
don't duplicate Remote::mkdir in explorer transfer
2018-09-22 20:52:33 +02:00
dhivael
c021cd15cd transfer all files of a directory at once
instead of calling the copy command once per file in a directory (eg a
type explorer dir), call the copy command only once with all files of
the directory.

batch copy saves 20% of dry-run time on my test manifest in sequential
mode, and 15% in parallel mode.
2018-09-22 17:35:32 +02:00
dhivael
f918acd725 don't duplicate Remote::mkdir in explorer transfer
Remote::transfer contains a call to mkdir(destination) if the source is
a directory. since the destination must also be a directory we can omit
extra mkdir calls in Explorer.

this saves about 10% on my manifests in sequential mode, and about 6% in
parallel mode.
2018-09-22 13:16:22 +02:00
Darko Poljak
d6952543a7 Add 'real world example' walkthrough docs chapter. 2018-09-14 10:53:16 +02:00
Darko Poljak
aa80e8f87d ++changelog 2018-09-12 11:53:46 +02:00
Darko Poljak
690b63081f
Merge pull request #688 from thriqon/improve-package-apt
Improve __package_apt
2018-09-12 11:53:37 +02:00
Jonas Weber
b3f3b907a4 Quote aptget command and params, simplify explorer 2018-09-12 11:36:11 +02:00
Jonas Weber
346f1f8af3 Send messages when installing packages via __package_apt 2018-09-12 11:36:06 +02:00
Darko Poljak
19a55ac75a
++changelog 2018-09-09 19:27:39 +02:00
Darko Poljak
cebe5949fc
Merge pull request #687 from devinsolutions/update-__docker
Update __docker type
2018-09-09 19:23:18 +02:00
Adam Dej
2e653409c1 Update __docker type
- Update installation method, following official installation
instructions.
  - docker-engine was renamed to Docker CE around March 2017. Update
manpage to reflect that change.
  - Remove flag `--experimental` since it is no longer necessary to install a
different binary to get experimental features. Experimental features are
included in the stable binary and can be enabled by a flag or in a
config file.
2018-09-07 11:38:49 +02:00
Adam Dej
c2f8c7abb3 Add explorer for info in /etc/os-release 2018-09-07 11:38:49 +02:00
Darko Poljak
55dcaecafe Release 4.10.2 2018-09-06 07:11:04 +02:00
Darko Poljak
3782656569 Report encoding errors nicely. 2018-09-04 08:27:20 +02:00
Darko Poljak
b9ddbb1aa0 ++changelog 2018-09-01 23:30:53 +02:00
Darko Poljak
b67051fac5
Merge pull request #686 from darko-poljak/letsencrypt_cert_explorers_fix
Check if certbot exists before using it. Fixes #685.
2018-09-01 23:29:37 +02:00
Darko Poljak
a627247908 Check if certbot exists before using it. Fixes #685. 2018-09-01 23:27:58 +02:00
Darko Poljak
282647a88c Fix changelog formatting. 2018-08-31 10:48:21 +02:00
Darko Poljak
fbc129e2ef
Merge pull request #684 from zhaostu/master
Update type `__package_update_index`
2018-08-31 10:47:30 +02:00
Stu Zhao
ad46c39c86
Merge branch 'master' into master 2018-08-30 15:56:19 -07:00
Darko Poljak
93d877f5bf Add nonparallel marker for __apt_source type. 2018-08-30 20:22:51 +02:00
Stu Zhao
f143a70463 Support pacman with --maxage parameter 2018-08-29 11:31:31 -07:00
Stu Zhao
b12c02138d Refactor __package_update_index explorers
* add an type explorer to unify detecting of package type.
* update currage use the type explorer, so if os and passed in type
does not match, it behaves correctly.
2018-08-29 00:22:28 -07:00
Stu Zhao
2f89d8a514 Fix __package_update_index processing error
exit 1 in explorer will abort cdist.
2018-08-29 00:22:28 -07:00
Darko Poljak
eeb0590150 ++changelog 2018-07-23 08:09:55 +02:00
Darko Poljak
0e9ba29850
Merge pull request #682 from greendeath/master
Bugfix:
2018-07-23 08:11:16 +02:00
Dominique Roux
f04f76524c Bugfix:
- __grafana_dashboard had the wrong release name for devuan ascii
2018-07-22 18:35:30 +02:00
Darko Poljak
1f2b7c84c2 ++changelog 2018-07-18 07:40:34 +02:00