Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] mlocate : add updatedb.conf
@ 2021-05-05 17:15 pandom79
  2021-05-05 17:19 ` Duncaen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pandom79 @ 2021-05-05 17:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

There is a new pull request by pandom79 against master on the void-packages repository

https://github.com/pandom79/void-packages mlocate
https://github.com/void-linux/void-packages/pull/30694

mlocate : add updatedb.conf
This configuration file could be useful to avoid slowdowns 
when we reindex the data base with many snapshot for example,
but thare are 

A patch file from https://github.com/void-linux/void-packages/pull/30694.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mlocate-30694.patch --]
[-- Type: text/x-diff, Size: 1604 bytes --]

From cf19f88789fa61db6c38a09b732965e9386f1cfc Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Wed, 5 May 2021 19:08:11 +0200
Subject: [PATCH] mlocate : add updatedb.conf

---
 srcpkgs/mlocate/files/updatedb.conf | 4 ++++
 srcpkgs/mlocate/template            | 1 +
 2 files changed, 5 insertions(+)
 create mode 100644 srcpkgs/mlocate/files/updatedb.conf

diff --git a/srcpkgs/mlocate/files/updatedb.conf b/srcpkgs/mlocate/files/updatedb.conf
new file mode 100644
index 000000000000..c51ed7d43226
--- /dev/null
+++ b/srcpkgs/mlocate/files/updatedb.conf
@@ -0,0 +1,4 @@
+PRUNE_BIND_MOUNTS = "yes"
+PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
+PRUNENAMES = ".git .hg .svn .snapshots"
+PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache /var/lock /var/run /var/spool /var/tmp"
diff --git a/srcpkgs/mlocate/template b/srcpkgs/mlocate/template
index 9571f8c387d1..1156aba580ae 100644
--- a/srcpkgs/mlocate/template
+++ b/srcpkgs/mlocate/template
@@ -27,4 +27,5 @@ post_install() {
 	vinstall ${FILESDIR}/mupdatedb.cron-daily 744 etc/cron.daily mupdatedb
 	# rename for compatibility with findutils.
 	mv ${DESTDIR}/usr/share/man/man8/mupdatedb.8 ${DESTDIR}/usr/share/man/man1/mupdatedb.1
+	vinstall ${FILESDIR}/updatedb.conf 744 etc/
 }

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mlocate : add updatedb.conf
  2021-05-05 17:15 [PR PATCH] mlocate : add updatedb.conf pandom79
@ 2021-05-05 17:19 ` Duncaen
  2021-05-05 17:19 ` Duncaen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2021-05-05 17:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/30694#issuecomment-832869080

Comment:
We don't maintain configuration files for users if there is no default shipped with the source I don't think we should invent some.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mlocate : add updatedb.conf
  2021-05-05 17:15 [PR PATCH] mlocate : add updatedb.conf pandom79
  2021-05-05 17:19 ` Duncaen
@ 2021-05-05 17:19 ` Duncaen
  2021-05-05 17:30 ` pandom79
  2021-05-05 17:30 ` [PR PATCH] [Closed]: " pandom79
  3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2021-05-05 17:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/30694#issuecomment-832869080

Comment:
We don't maintain configuration files for users if there is no default shipped with the source I don't think we should invent one.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: mlocate : add updatedb.conf
  2021-05-05 17:15 [PR PATCH] mlocate : add updatedb.conf pandom79
  2021-05-05 17:19 ` Duncaen
  2021-05-05 17:19 ` Duncaen
@ 2021-05-05 17:30 ` pandom79
  2021-05-05 17:30 ` [PR PATCH] [Closed]: " pandom79
  3 siblings, 0 replies; 5+ messages in thread
From: pandom79 @ 2021-05-05 17:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

New comment by pandom79 on void-packages repository

https://github.com/void-linux/void-packages/pull/30694#issuecomment-832875907

Comment:
Ok.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Closed]: mlocate : add updatedb.conf
  2021-05-05 17:15 [PR PATCH] mlocate : add updatedb.conf pandom79
                   ` (2 preceding siblings ...)
  2021-05-05 17:30 ` pandom79
@ 2021-05-05 17:30 ` pandom79
  3 siblings, 0 replies; 5+ messages in thread
From: pandom79 @ 2021-05-05 17:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

There's a closed pull request on the void-packages repository

mlocate : add updatedb.conf
https://github.com/void-linux/void-packages/pull/30694

Description:
This configuration file allow us to filter the resources 
which have to indexed and to avoid slowdowns too.
The snapshots are just an example.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-05 17:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 17:15 [PR PATCH] mlocate : add updatedb.conf pandom79
2021-05-05 17:19 ` Duncaen
2021-05-05 17:19 ` Duncaen
2021-05-05 17:30 ` pandom79
2021-05-05 17:30 ` [PR PATCH] [Closed]: " pandom79

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).