Hello Andy,
Good to hear back from you.
On Thu, 2016-06-23 at 09:02 -0700, Andy Grover wrote:
On 06/23/2016 05:12 AM, Christoph Hellwig wrote:
> I'm happy to lend a helping hand. I'm running Debian packages for the
> stack on all my test systems, and sent the occasional fix to them. I've
> also added Debian packaging to my new nvmetcli package which is
> partially based on targetclu and rtslib-fb.
>
> I'd need a sponsor like Ritesh for both of them, though.
Hello Christoph,
On Debian's Alioth infrastructure, I created a group named linux-target.
In my opinion the packages will be a good fit here if they are related to Linux
and Block Storage
https://alioth.debian.org/projects/linux-target/
We can co-maintain it here. And I'll happily sponsor the package.
CCing Ritesh. I think he sounded willing to be a sponsor...? :-)
Great! Since you've sent in fixes I'm assuming your packages are close
or identical to what's in the targetcli-fb and configshell-fb repos'
debian/ dir?
Actually, someone mentioned upstreams having a debian/ is frowned upon.
That's easily moved but I'm hoping you, Ritesh, or someone else can fix
or at least identify the remaining packaging issues so Ritesh can get us
into experimental, where I'm assuming any remaining issues can be worked
out.
:-)
There's no written rule for that, but yes, the packaging practice has been to
relieve upstream of such packaging work. But many others maintain their branch
(Datera's repo, sg3-utils).
When importing, my practice is to strip of the upstream debian/ folder.
For eg,
https://anonscm.debian.org/cgit/linux-target/targetcli.git/tree/debian/RE...
urce
> On Wed, Jun 22, 2016 at 11:50:50AM -0700, Andy Grover wrote:
> > I've been exchanging a few emails with Ritesh Raj Sarraf, the Debian
> > maintainer of targetcli in Debian, about also getting targetcli-fb in
> > Debian
> > main, as an alternative:
> >
> >
https://wiki.debian.org/DebianAlternatives
>
> I don't think using alternatives is a good idea, but given that the
> Datera targetcli is basically unmaintained these days replacing it in
> Debian would be very helpful for the broader user base. This might
> would require finishing up your work to important the config files,
> though.
I really do not like working on the convert-to-json script. For the
first stage, getting into experimental, I'm not sure finishing it is
required. For the second stage, getting out of experimental as an
alternative, I don't think it's required. If we get to a third stage
where we're considering replacing Datera targetcli as the default, I'm
*still* not convinced it's required, given that we can push a config
into configfs with Datera and then save config into json with "targetctl
save".
But if Ritesh insists it's needed at some stage then yes I'll do it.
I'm not interested in the alternatives approach either. My intent is to get it
in shape to become the standard LIO target for Debian.
Getting the package into experimental doesn't really have any special criteria.
But my intent here is to target it for Debian Stretch, which will enter into
freeze around November this year.
Even though LIO has very low popcon count right now, I do keep getting bug
reports. And as is with all my SAN packages, people mostly test (and report
bugs) when these packages have entered Debian Testing (quite late).
But we should have an upgrade path.
https://tracker.debian.org/pkg/targetcli
So, imo, let's get it to Debian Experimental first. For that, I think the
quickest is that the source tarballs be switched with a version bump.
Then, once the packaging part is sorted out, we should look at the upgrade path
against the current version (Datera version) in Debian Unstable. That is pretty
much it. Once the package is in Unstable and no RC bugs are reported, it'll
migrate to Testing (and eventually to Stable).
PS: After having written this email, I think there may not be that much work. If
we can get 1 revision of the -fb based package imported into the Debian
packaging in Experimental, it'd be very easy to just push further incremental
uploads.
For convenience, I've cloned the Debian LIO Packaging repos at github. They
contain the entire packaging + source, in git-buildpackage workflow.
https://github.com/rickysarraf/configshell
To try out the current packages, you can just clone them, and then run
`gbp buildpackage` for each repo. That'd give you the entire flow of the build.
--
Ritesh Raj Sarraf |
http://people.debian.org/~rrs
Debian - The Universal Operating System