Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Mike Gilbert
On Thu, Jun 27, 2019 at 12:37 PM Benda Xu  wrote:
>
> Mike Gilbert  writes:
>
> > This looks a lot safer than yesterday's patch since there are no
> > ebuild removals here.
>
> Thank you Mike.
>
> > If/when you do want to remove old ebuilds, I suggest creating a github
> > PR, and let the CI bot check reverse dependencies.
>
> Yeah, that would have been a much safer way to remove ebuilds.
>
> > This was actually done for the change that was reverted yesterday, but
> > it seems like the CI results were ignored and the commit was pushed
> > regardless.
>
> Yesterday the original pull requests by Mo did not remove ebuilds.  It
> was only when I started to adopt the PR that I saw
>
> > RepoMan scours the neighborhood...
> >   repo.eapi-deprecated  1
> >virtual/cblas/cblas-1.0.ebuild: 5
>
> after which I impulsively killed it.

Ah, that makes more sense.



[gentoo-dev] Re: Why aren't GSoC projects affecting ::gentoo discussed on regular mls?

2019-06-27 Thread Benda Xu
Hi Marek,

Marek Szuba  writes:

> On 2019-06-27 04:16, Benda Xu wrote:
>
>> Michał, you were overreacting to the word "GSoC" since our original RFC
>> at gentoo-dev.  Please, just ignore GSoC when you are executing your
>> experise of QA.  Gentoo should be developed independently, regardless of
>> whether any development effort is supported by 3rd party.
> [...]
>> Personally I don't regard the GSoC selection and decision process
>> interesting to all the Gentoo devs.
>
> In my opinion Michał has got a very good point regarding potential PR
> consequences of us rejecting GSoC work. 

I agree with you.

> Of course it can be done, I've seen my share of student projects of
> various sort getting binned immediately after implementation - but
> more often than not it shows a lack of of foresight, at best, on
> behalf of institutions which requested manpower for such projects.

Agreed, too.  It is the mentor's duty to facilitate a win-win outcome to
our student, Gentoo and Google, by being more careful on visions and
planning.

> Yes, it is good for you to have eventually brought this to -dev - but
> IMHO it really is too late. In the future, I would STRONGLY advise
> having a general discussion before having even a single line of code
> written.

In retrospect, I was overconfident about my technical judgement.  I will
take your advice.  Thank you, Marek.

Yours,
Benda


Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Benda Xu
Mike Gilbert  writes:

> This looks a lot safer than yesterday's patch since there are no
> ebuild removals here.

Thank you Mike.

> If/when you do want to remove old ebuilds, I suggest creating a github
> PR, and let the CI bot check reverse dependencies. 

Yeah, that would have been a much safer way to remove ebuilds.

> This was actually done for the change that was reverted yesterday, but
> it seems like the CI results were ignored and the commit was pushed
> regardless.

Yesterday the original pull requests by Mo did not remove ebuilds.  It
was only when I started to adopt the PR that I saw

> RepoMan scours the neighborhood...
>   repo.eapi-deprecated  1
>virtual/cblas/cblas-1.0.ebuild: 5

after which I impulsively killed it.


I should take this lesson and be more careful removing ebuilds.

Yours,
Benda



Re: [gentoo-dev] Re: Why aren't GSoC projects affecting ::gentoo discussed on regular mls?

2019-06-27 Thread Marek Szuba
On 2019-06-27 04:16, Benda Xu wrote:

> Michał, you were overreacting to the word "GSoC" since our original RFC
> at gentoo-dev.  Please, just ignore GSoC when you are executing your
> experise of QA.  Gentoo should be developed independently, regardless of
> whether any development effort is supported by 3rd party.
[...]
> Personally I don't regard the GSoC selection and decision process
> interesting to all the Gentoo devs.

In my opinion Michał has got a very good point regarding potential PR
consequences of us rejecting GSoC work. Of course it can be done, I've
seen my share of student projects of various sort getting binned
immediately after implementation - but more often than not it shows a
lack of of foresight, at best, on behalf of institutions which requested
manpower for such projects. Yes, it is good for you to have eventually
brought this to -dev - but IMHO it really is too late. In the future, I
would STRONGLY advise having a general discussion before having even a
single line of code written.

-- 
MS



Re: [gentoo-dev] [PATCH 0/2] RFC: Introducing ldso switching to BLAS/LAPACK

2019-06-27 Thread Mike Gilbert
On Thu, Jun 27, 2019 at 2:16 AM  wrote:
>
> From: Benda Xu 
>
> The following 2 patches are to introduce the runtime switching
> mechanism to BLAS/LAPACK libraries in Gentoo.
>
> This feature is turned off by default and only the reference
> BLAS/LAPACK is used to satisfy the dependencies.  It can be enabled by
> USE=eselect-ldso.
>
>
> Sorry for the glitch to the tree caused by my mistake yesterday.  I am
> looking forward to your review.  I am cross posting to -dev and -sci
> so as to attract atention from all interested parties.

This looks a lot safer than yesterday's patch since there are no
ebuild removals here.

If/when you do want to remove old ebuilds, I suggest creating a github
PR, and let the CI bot check reverse dependencies. This was actually
done for the change that was reverted yesterday, but it seems like the
CI results were ignored and the commit was pushed regardless.



[gentoo-dev] [PATCH 5/6] acct-user/rtkit: Add 'rtkit' user (UID 133)

2019-06-27 Thread Marek Szuba
Same UID as in Arch Linux.

Signed-off-by: Marek Szuba 
---
 acct-user/rtkit/metadata.xml   |  8 
 acct-user/rtkit/rtkit-0.ebuild | 12 
 2 files changed, 20 insertions(+)
 create mode 100644 acct-user/rtkit/metadata.xml
 create mode 100644 acct-user/rtkit/rtkit-0.ebuild

diff --git a/acct-user/rtkit/metadata.xml b/acct-user/rtkit/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-user/rtkit/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-user/rtkit/rtkit-0.ebuild b/acct-user/rtkit/rtkit-0.ebuild
new file mode 100644
index 000..0e63e6514a1
--- /dev/null
+++ b/acct-user/rtkit/rtkit-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the Realtime Policy and Watchdog Daemon"
+ACCT_USER_ID=133
+ACCT_USER_GROUPS=( rtkit )
+
+acct-user_add_deps
-- 
2.21.0




[gentoo-dev] [PATCH 6/6] acct-user/syncthing: Add 'syncthing' user (UID 499)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-user/syncthing/metadata.xml   |  8 
 acct-user/syncthing/syncthing-0.ebuild | 14 ++
 2 files changed, 22 insertions(+)
 create mode 100644 acct-user/syncthing/metadata.xml
 create mode 100644 acct-user/syncthing/syncthing-0.ebuild

diff --git a/acct-user/syncthing/metadata.xml b/acct-user/syncthing/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-user/syncthing/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-user/syncthing/syncthing-0.ebuild 
b/acct-user/syncthing/syncthing-0.ebuild
new file mode 100644
index 000..136d34e4cdb
--- /dev/null
+++ b/acct-user/syncthing/syncthing-0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the system-wide net-p2p/syncthing server"
+ACCT_USER_ID=499
+ACCT_USER_HOME=/var/lib/syncthing
+ACCT_USER_HOME_PERMS=0770
+ACCT_USER_GROUPS=( syncthing )
+
+acct-user_add_deps
-- 
2.21.0




[gentoo-dev] [PATCH 3/6] acct-group/syncthing: Add 'syncthing' group (GID 499)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-group/syncthing/metadata.xml   | 8 
 acct-group/syncthing/syncthing-0.ebuild | 9 +
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/syncthing/metadata.xml
 create mode 100644 acct-group/syncthing/syncthing-0.ebuild

diff --git a/acct-group/syncthing/metadata.xml 
b/acct-group/syncthing/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-group/syncthing/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-group/syncthing/syncthing-0.ebuild 
b/acct-group/syncthing/syncthing-0.ebuild
new file mode 100644
index 000..4e7ab771bb4
--- /dev/null
+++ b/acct-group/syncthing/syncthing-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+DESCRIPTION="Group for the system-wide net-p2p/syncthing server"
+ACCT_GROUP_ID=499
-- 
2.21.0




[gentoo-dev] [PATCH 4/6] acct-user/burp: Add 'burp' user (UID 498)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-user/burp/burp-0.ebuild | 12 
 acct-user/burp/metadata.xml  |  8 
 2 files changed, 20 insertions(+)
 create mode 100644 acct-user/burp/burp-0.ebuild
 create mode 100644 acct-user/burp/metadata.xml

diff --git a/acct-user/burp/burp-0.ebuild b/acct-user/burp/burp-0.ebuild
new file mode 100644
index 000..f6c78b24856
--- /dev/null
+++ b/acct-user/burp/burp-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the app-backup/burp server"
+ACCT_USER_ID=498
+ACCT_USER_GROUPS=( burp )
+
+acct-user_add_deps
diff --git a/acct-user/burp/metadata.xml b/acct-user/burp/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-user/burp/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
-- 
2.21.0




[gentoo-dev] [PATCH 2/6] acct-group/rtkit: Add 'rtkit' group (GID 133)

2019-06-27 Thread Marek Szuba
Same GID as in Arch Linux.

Signed-off-by: Marek Szuba 
---
 acct-group/rtkit/metadata.xml   | 8 
 acct-group/rtkit/rtkit-0.ebuild | 9 +
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/rtkit/metadata.xml
 create mode 100644 acct-group/rtkit/rtkit-0.ebuild

diff --git a/acct-group/rtkit/metadata.xml b/acct-group/rtkit/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-group/rtkit/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
diff --git a/acct-group/rtkit/rtkit-0.ebuild b/acct-group/rtkit/rtkit-0.ebuild
new file mode 100644
index 000..9361f86968b
--- /dev/null
+++ b/acct-group/rtkit/rtkit-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+DESCRIPTION="Group for the Realtime Policy and Watchdog Daemon"
+ACCT_GROUP_ID=133
-- 
2.21.0




[gentoo-dev] [PATCH 1/6] acct-group/burp: Add 'burp' group (GID 498)

2019-06-27 Thread Marek Szuba
Signed-off-by: Marek Szuba 
---
 acct-group/burp/burp-0.ebuild | 9 +
 acct-group/burp/metadata.xml  | 8 
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/burp/burp-0.ebuild
 create mode 100644 acct-group/burp/metadata.xml

diff --git a/acct-group/burp/burp-0.ebuild b/acct-group/burp/burp-0.ebuild
new file mode 100644
index 000..f9d68d05dab
--- /dev/null
+++ b/acct-group/burp/burp-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+DESCRIPTION="Group for the app-backup/burp server"
+ACCT_GROUP_ID=498
diff --git a/acct-group/burp/metadata.xml b/acct-group/burp/metadata.xml
new file mode 100644
index 000..3e5026ee375
--- /dev/null
+++ b/acct-group/burp/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+
-- 
2.21.0




[gentoo-dev] [PATCH v2 0/6] User/group assignment: burp, rtkit, syncthing

2019-06-27 Thread Marek Szuba


Thank you for your feedback, here is the second version of the patch
set.
Changes:
 - shifted the IDs for burp and syncthing into the appropriate LSB range;
   the Wiki page has been updated accordingly.

* * *

Here is the RFC for acct-* packages corresponding to users and groups
created by packages I currently maintain. This is also a request to
reserve the respective UIDs/GIDs, namely:

Groups:
 - burp - 498
 - rtkit - 133
 - syncthing - 499

Users:
 - burp - 498
 - rtkit - 133
 - syncthing - 499