Re: [gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-20 Thread YUE Daian
On 2018-12-20 00:31, Andrew Udvare  wrote:
>> On 2018-12-19, at 21:24, YUE Daian  wrote:
>> 
>> Is there anything I can do more?
>
> In your ebuild, remove ./bootstrap and use eautoreconf.
>
> https://devmanual.gentoo.org/eclass-reference/autotools.eclass/

I do not know if that will work well.

I will investigate it.

Thanks.



Re: [gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-20 Thread YUE Daian
On 2018-12-20 03:50, Nils Freydank  wrote:
> Hi Danny,
>
> first I want to thank you for submitting your ebuild, and I'm quite sorry to 
> see another contributor who doesn't get responses for a long while. This is 
> no 
> evil intention, just a lack of manpower and the lack of someone maintaining
> your "new" package. (This was what jstein meant with his response[1]).
>
I do understand the situation of lacking manpower, also I realized made
some mistakes in my ebuild file, so you do not have to apologize. :-)

> Additionally bugzilla is seen as too impractical to use for new packages that 
> many don't get much attention there, only on github.com.
>
Well the Gentoo Wiki https://wiki.gentoo.org/wiki/Submitting_ebuilds
suggested that new ebuilds should be submitted via Bugzilla.

Could you please tell me if it is still the recommended way?
If not, IMHO it is better to change Wiki as well to prevent further
misunderstanding.

> However, within Gentoo every package needs a maintainer to avoid dead 
> packages 
> inside our tree (which then get no security nor "normal" bug fixes). Packages
> with "maintainer needed" state had one, but he or she just dropped the work.
> If you have some spare time you can become a proxied maintainer, meaning you 
> maintain the package without being a Gentoo dev. As git distinguishs author 
> and commiter you get also a proper attribution for your work.
>
> The workflow in general is that you clone the git repo and create branch, add 
> your ebuild, open a git PR on github.com[2] and get reviews from devs. You 
> can 
> find more details in some wiki articles[3].
>
This is the "correct" way to submit a new ebuild I suppose?

> Unfortunately it takes a bunch of time until packages are merged, because of 
> the mentioned lack of manpower on the devs' side, aswell as plenty mistakes 
> new proxied maintainers tend to implement in ebuilds (myself included here).
>
> I hope that helps you,
> Nils
>
>
> [1] https://bugs.gentoo.org/638446#c1
> [2] https://github.com/gentoo/gentoo/pulls?q=is%3Aopen+is%3Apr
> [3] https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers/User_Guide
> and https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers

I love Gentoo and I want to contribute.
I will read through the docs and have a try. Time to step forward as an
"end user"!

Thanks for helping.

Danny



Re: [gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-20 Thread YUE Daian
On 2018-12-19 21:42, Rich Freeman  wrote:
> On Wed, Dec 19, 2018 at 9:24 PM YUE Daian  wrote:
>>
>> Recently I posted a bug report to Gentoo Bugzilla and submitted a
>> request to add package Roswell into the package tree.
>>
>> https://bugs.gentoo.org/638446
>>
>> But...in fact it was not "recent" at all! I submitted the bug one year
>> ago and there is literally no news after some point.
>>
>> Is there anything I can do more?
>
> You can always host it in an overlay, or try submitting it to
> proxy-maintainers.  Volunteering to proxy-maintain the package would
> probably also help - that basically involves committing to keep it up
> to date and deal with bugs/etc.
>
> The obvious QA issue I could think of with putting this in the main
> repo is where it sticks its files and how well-behaved it is.  When it
> installs lisp packages does it keep them in some kind of tidy area
> that isn't going to step on the rest of the filesystem?
> Language-specific package managers can sometimes be messy in that way.
>

Roswell installs itself system-wide, then for each user it manipulates
local directory (by default $HOME/.roswell).

There is no global install afterwards so I suppose it should be fine.

But you are right. I should have posted the file list into my bug
report.

> My guess though is that this reflects a lack of interest in lisp more
> than any specific criticism.  If somebody had a criticism they'd have
> pointed it out.
>
> I didn't look at your package too closely but one little tweak you
> should make is something like:
>
> SRC_URI="https://github.com/roswell/roswell/archive/v${PV}.zip -> ${P}.zip"
>

Good point. I will change that.

> That makes it easier to maintain by renaming the package version
> number, and it also cleans up the filename in the distfiles cache (and
> on the mirrors).
>
> -- 
> Rich

Thank you Rich!



Re: [gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-19 Thread Andrew Udvare


> On 2018-12-19, at 21:24, YUE Daian  wrote:
> 
> Is there anything I can do more?

In your ebuild, remove ./bootstrap and use eautoreconf.

https://devmanual.gentoo.org/eclass-reference/autotools.eclass/



Re: [gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-19 Thread Andrew Udvare



-- 
Andrew Udvare


> On 2018-12-19, at 21:24, YUE Daian  wrote:
> 
> Hi Gentoo folks,
> 
> Recently I posted a bug report to Gentoo Bugzilla and submitted a
> request to add package Roswell into the package tree.
> 
> https://bugs.gentoo.org/638446


> 
> But...in fact it was not "recent" at all! I submitted the bug one year
> ago and there is literally no news after some point.
> 
> Is there anything I can do more?
> 
> Danny
> 




Re: [gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-19 Thread Nils Freydank
Hi Danny,

first I want to thank you for submitting your ebuild, and I'm quite sorry to 
see another contributor who doesn't get responses for a long while. This is no 
evil intention, just a lack of manpower and the lack of someone maintaining
your "new" package. (This was what jstein meant with his response[1]).
Additionally bugzilla is seen as too impractical to use for new packages that 
many don't get much attention there, only on github.com.

However, within Gentoo every package needs a maintainer to avoid dead packages 
inside our tree (which then get no security nor "normal" bug fixes). Packages
with "maintainer needed" state had one, but he or she just dropped the work.
If you have some spare time you can become a proxied maintainer, meaning you 
maintain the package without being a Gentoo dev. As git distinguishs author 
and commiter you get also a proper attribution for your work.

The workflow in general is that you clone the git repo and create branch, add 
your ebuild, open a git PR on github.com[2] and get reviews from devs. You can 
find more details in some wiki articles[3].

Unfortunately it takes a bunch of time until packages are merged, because of 
the mentioned lack of manpower on the devs' side, aswell as plenty mistakes 
new proxied maintainers tend to implement in ebuilds (myself included here).

I hope that helps you,
Nils


[1] https://bugs.gentoo.org/638446#c1
[2] https://github.com/gentoo/gentoo/pulls?q=is%3Aopen+is%3Apr
[3] https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers/User_Guide
and https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-19 Thread Rich Freeman
On Wed, Dec 19, 2018 at 9:24 PM YUE Daian  wrote:
>
> Recently I posted a bug report to Gentoo Bugzilla and submitted a
> request to add package Roswell into the package tree.
>
> https://bugs.gentoo.org/638446
>
> But...in fact it was not "recent" at all! I submitted the bug one year
> ago and there is literally no news after some point.
>
> Is there anything I can do more?

You can always host it in an overlay, or try submitting it to
proxy-maintainers.  Volunteering to proxy-maintain the package would
probably also help - that basically involves committing to keep it up
to date and deal with bugs/etc.

The obvious QA issue I could think of with putting this in the main
repo is where it sticks its files and how well-behaved it is.  When it
installs lisp packages does it keep them in some kind of tidy area
that isn't going to step on the rest of the filesystem?
Language-specific package managers can sometimes be messy in that way.

My guess though is that this reflects a lack of interest in lisp more
than any specific criticism.  If somebody had a criticism they'd have
pointed it out.

I didn't look at your package too closely but one little tweak you
should make is something like:

SRC_URI="https://github.com/roswell/roswell/archive/v${PV}.zip -> ${P}.zip"

That makes it easier to maintain by renaming the package version
number, and it also cleans up the filename in the distfiles cache (and
on the mirrors).

-- 
Rich



[gentoo-user] Is it that hard to add a package, or am I doing wrong?

2018-12-19 Thread YUE Daian
Hi Gentoo folks,

Recently I posted a bug report to Gentoo Bugzilla and submitted a
request to add package Roswell into the package tree.

https://bugs.gentoo.org/638446

But...in fact it was not "recent" at all! I submitted the bug one year
ago and there is literally no news after some point.

Is there anything I can do more?

Danny