Re: Packaging help: users and directories

2022-01-03 Thread Gavin Henry
Got access to salsa.debian.org today! Woot!

On Thu, 30 Dec 2021, 08:55 Gavin Henry,  wrote:

> Thanks!
>
> I've managed to build it. Just going through debuild now to clean up
> lintian issues and pbuilder.
>
> Suprisingly enjoyable!
>
> I've emailed the VoIP packaging group to see if I can help now that I know
> more. I'd like to look after the libosip2 package too.
>
> Gavin.
>
>
>


Re: Packaging help: users and directories

2021-12-30 Thread Gavin Henry
Thanks!

I've managed to build it. Just going through debuild now to clean up
lintian issues and pbuilder.

Suprisingly enjoyable!

I've emailed the VoIP packaging group to see if I can help now that I know
more. I'd like to look after the libosip2 package too.

Gavin.


Re: Packaging help: users and directories

2021-12-29 Thread tomas
On Wed, Dec 29, 2021 at 09:15:50AM +, Gavin Henry wrote:
> >
> > Also have a look here:
> > https://wiki.debian.org/Packaging
> 
> 
> Thanks. I think Google gave me this one first, but it was quite daunting
> for a beginner. It will make more sense now 3rd time round I think since
> I've read the tutorials.
> 
> There is also http://codesearch.debian.net/ which let you search the
> > packages.
> >
> 
> Cool. Perfect.

There is also a package "hello" which is intended to show how to package
things. So getting its source and looking around might be helpful, too.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Packaging help: users and directories

2021-12-29 Thread Gavin Henry
>
> Also have a look here:
> https://wiki.debian.org/Packaging


Thanks. I think Google gave me this one first, but it was quite daunting
for a beginner. It will make more sense now 3rd time round I think since
I've read the tutorials.

There is also http://codesearch.debian.net/ which let you search the
> packages.
>

Cool. Perfect.


Re: Packaging help: users and directories

2021-12-29 Thread Alex Mestiashvili

On 12/29/21 1:10 AM, Gavin Henry wrote:


Hi,

(I reply assuming you seek packaging help, because that appears in
your subject, even though you don't mention that in your message)

There is another mailing list specifically for packaging questions:
https://lists.debian.org/debian-mentors/


That list is described here:

https://wiki.debian.org/DebianMentorsFaq#What_is_the_debian-mentors_mailing_list_for.3F


By the way, where that wiki text says "Debian development",
that certainly includes packaging work.

I think that mailing list will be a good place for you ask your question
again, because it exists mostly for the purpose of Debian developers
to give high-quality answers to packaging questions.

Whereas there are relatively few developers on this list, debian-user.
This list basically exists to segregate user questions away from
distracting
developers from their work, so they are not very active here, so
asking your
question here does not really find the target audience that you need for
good answers.


Thanks David! I'll subscribe, email and read that FAQ

Gavin.



Also have a look here:
https://wiki.debian.org/Packaging

There is also http://codesearch.debian.net/ which let you search the 
packages.




Re: Packaging help: users and directories

2021-12-28 Thread Gavin Henry
>
>
> Hi,
>
> (I reply assuming you seek packaging help, because that appears in
> your subject, even though you don't mention that in your message)
>
> There is another mailing list specifically for packaging questions:
>   https://lists.debian.org/debian-mentors/
>
> That list is described here:
>
> https://wiki.debian.org/DebianMentorsFaq#What_is_the_debian-mentors_mailing_list_for.3F
> By the way, where that wiki text says "Debian development",
> that certainly includes packaging work.
>
> I think that mailing list will be a good place for you ask your question
> again, because it exists mostly for the purpose of Debian developers
> to give high-quality answers to packaging questions.
>
> Whereas there are relatively few developers on this list, debian-user.
> This list basically exists to segregate user questions away from
> distracting
> developers from their work, so they are not very active here, so asking
> your
> question here does not really find the target audience that you need for
> good answers.
>

Thanks David! I'll subscribe, email and read that FAQ

Gavin.

>


Re: Packaging help: users and directories

2021-12-28 Thread David
On Wed, 29 Dec 2021 at 03:12, Gavin Henry  wrote:

> Where are some good examples to read about adding a user and group,
> a systemd service file, a /etc/default file and creating a /var/lib/sentrypeer
> directory to hold an sqlite db file?
>
> Just look at official packages? I've read
>
> This is for:
>
> https://github.com/SentryPeer/SentryPeer
>
> and I've started here:
>
> https://github.com/SentryPeer/SentryPeer/tree/debian-packaging/debian

Hi,

(I reply assuming you seek packaging help, because that appears in
your subject, even though you don't mention that in your message)

There is another mailing list specifically for packaging questions:
  https://lists.debian.org/debian-mentors/

That list is described here:
  
https://wiki.debian.org/DebianMentorsFaq#What_is_the_debian-mentors_mailing_list_for.3F
By the way, where that wiki text says "Debian development",
that certainly includes packaging work.

I think that mailing list will be a good place for you ask your question
again, because it exists mostly for the purpose of Debian developers
to give high-quality answers to packaging questions.

Whereas there are relatively few developers on this list, debian-user.
This list basically exists to segregate user questions away from distracting
developers from their work, so they are not very active here, so asking your
question here does not really find the target audience that you need for
good answers.



Re: Packaging help: users and directories

2021-12-28 Thread Gavin Henry
I was given this advice from Arthur, a Debian developer, but I can't find
some of the finer details I'm looking for:

---
I recommend looking at https://wiki.debian.org/UpstreamGuide to some
pointers about how to make it easy to ensure your software can be
easily packaged in Debian.

If you're looking to create a deb package that is ready to be included
in Debian it is best to have your debian/ directory on a separate
branch. I recommend using git-buildpackage, see
https://wiki.debian.org/PackagingWithGit (this is what most
collaboratively maintained packages use now).

For information on how to create Debian packages see
https://www.debian.org/doc/manuals/developers-reference/ (particularly
chapters 5 and 6). If you want to look at more of the background there
is the policy document, see https://www.debian.org/doc/debian-policy/

There are a lot of tools for efficiently building Debian packages. If
you want to test your builds in a more controlled environment you
should probably use pbuilder (of cowbuilder) because those use a clean
chroot to build your packages to ensure you have the correct
dependencies specified.

Hope this helps
--

Thanks


Packaging help: users and directories

2021-12-28 Thread Gavin Henry
Hi all,

Where are some good examples to read about adding a user and group, a
systemd service file, a /etc/default file and creating a
/var/lib/sentrypeer directory to hold an sqlite db file?

Just look at official packages? I've read

This is for:

https://github.com/SentryPeer/SentryPeer

and I've started here:

https://github.com/SentryPeer/SentryPeer/tree/debian-packaging/debian

Thanks for reading,
Gavin.