Skip to contentSkip to conversation

Basic Github CI for multipath-tools

dm-devel Martin Wilck 4 participants 9 messages Dec 19, 2020 – Jan 25, 2021 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi Christophe, all,

I have created a basic CI for multipath-tools on github:

https://github.com/openSUSE/multipath-tools/actions

It builds multipath-tools with different compilers and runs the unit tests. It's currently on the "upstream-tip" branch only, which is otherwise identical to upstream-queue (today, at least).

Christophe, would you be willing to pull this into the main repo one day?

Regards,
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#1 lore raw

Sure, nice work.

Would you like to create a PR, to merge it upstream ? So we can test if this process makes sense.

Regards,
Christophe

Quoted 10 lines · Martin Wilck

Hi Christophe, all,

I have created a basic CI for multipath-tools on github:

https://github.com/openSUSE/multipath-tools/actions

It builds multipath-tools with different compilers and runs the unit tests. It's currently on the "upstream-tip" branch only, which is otherwise identical to upstream-queue (today, at least).

Quoted 8 lines

Christophe, would you be willing to pull this into the main repo one day?

Regards,
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#2 lore raw

Hi Christophe,

Quoted 4 lines · Christophe Varoqui

Sure, nice work.

Would you like to create a PR, to merge it upstream ? So we can test if this process makes sense.

Sure, will do.

One problem that I currently have is that the openSUSE/multipath-tools repo is a fork of your old repo, and it's impossible to change the upstream repo in github, AFAICS. Therefore I can't create a PR directly from openSUSE/multipath-tools.

I guess I'll have to re-build the openSUSE/multipath-tools repo "from scratch" as a fork of your new github repo before we can realistically work with github PRs. That's a bit of work because there are many branches, and it needs to be discussed and coordinated in our organization.

You'll notice when I've got to it :-)

In the meantime, please consider pulling upstream-queue, the current state is pretty much settled between Ben and myself.

In the long run, let's handle everything that touches the actual multipath-tools code via dm-devel as usual, and handle github-specific things like CI via PRs. OK?

Regards and happy new year,
Martin

Quoted 22 lines

Regards,
Christophe

Quoted 17 lines · Martin Wilck

Hi Christophe, all,

I have created a basic CI for multipath-tools on github:

https://github.com/openSUSE/multipath-tools/actions

It builds multipath-tools with different compilers and runs the unit tests. It's currently on the "upstream-tip" branch only, which is otherwise identical to upstream-queue (today, at least).

Christophe, would you be willing to pull this into the main repo one day?

Regards,
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#3 lore raw

[dm-devel] New draft openSUSE multipath-tools repo on github

Hi Christophe, Ben, everybody,

Quoted 17 lines · Martin Wilck

Hi Christophe,

Quoted 4 lines · Christophe Varoqui

Sure, nice work.

Would you like to create a PR, to merge it upstream ? So we can test if this process makes sense.

Sure, will do.

One problem that I currently have is that the openSUSE/multipath- tools
repo is a fork of your old repo, and it's impossible to change the upstream repo in github, AFAICS. Therefore I can't create a PR directly
from openSUSE/multipath-tools.

Quoted 6 lines

I guess I'll have to re-build the openSUSE/multipath-tools repo "from scratch" as a fork of your new github repo before we can realistically
work with github PRs. That's a bit of work because there are many branches, and it needs to be discussed and coordinated in our organization.

I've drafted the new openSUSE multipath-tools github repo now:

https://github.com/openSUSE/multipath-tools-1

(the repo name will change!)

This repo is forked from Christophe's github repo and will thus allow creating Pull Requests for Christophe.

I have simplified the branch names that matter for upstream development wrt the old repo:

upstream-queue -> queue
upstream-fixes -> fixes
upstream-tip -> tip (this one contains github CI)

Besides these, the repo contains some (open)SUSE-specific branches and tags, but I've left out a lot of old stuff which will continue to live on the old openSUSE repo only.

Please have a look. If I get positive feedback, I'll rename the current openSUSE multipath-tools repo to "openSUSE/multipath-tools-pre2021" and rename this one to "openSUSE/multipath-tools".

Best Regards,
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#4 lore raw

Re: [dm-devel] New draft openSUSE multipath-tools repo on github

Quoted 43 lines · Martin Wilck

Hi Christophe, Ben, everybody,

Quoted 17 lines · Martin Wilck

Hi Christophe,

Quoted 4 lines · Christophe Varoqui

Sure, nice work.

Would you like to create a PR, to merge it upstream ? So we can test if this process makes sense.

Sure, will do.

One problem that I currently have is that the openSUSE/multipath- tools
repo is a fork of your old repo, and it's impossible to change the upstream repo in github, AFAICS. Therefore I can't create a PR directly
from openSUSE/multipath-tools.

Quoted 6 lines

I guess I'll have to re-build the openSUSE/multipath-tools repo "from scratch" as a fork of your new github repo before we can realistically
work with github PRs. That's a bit of work because there are many branches, and it needs to be discussed and coordinated in our organization.

I've drafted the new openSUSE multipath-tools github repo now:

https://github.com/openSUSE/multipath-tools-1

(the repo name will change!)

This repo is forked from Christophe's github repo and will thus allow creating Pull Requests for Christophe.

I have simplified the branch names that matter for upstream development wrt the old repo:

   upstream-queue -> queue
   upstream-fixes -> fixes
   upstream-tip -> tip (this one contains github CI)
Quoted 8 lines

Besides these, the repo contains some (open)SUSE-specific branches and tags, but I've left out a lot of old stuff which will continue to live on the old openSUSE repo only.

Please have a look. If I get positive feedback, I'll rename the current openSUSE multipath-tools repo to "openSUSE/multipath-tools-pre2021" and rename this one to "openSUSE/multipath-tools".

Looks good to me.

Cheers,

Hannes

Signature · 10 lines
Dr. Hannes Reinecke                Kernel Storage Architect
[email protected]                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer


--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#5 lore raw

[dm-devel] multipath-tools: NEW openSUSE github repo

Quoted 2 lines · Hannes Reinecke
Quoted 1 line

Looks good to me.

OK. I have renamed the repositories now. The new openSUSE repo is now reachable as

https://github.com/openSUSE/multipath-tools

The important branches have been renamed, please update your bookmarks:

https://github.com/openSUSE/multipath-tools/tree/fixes
(obvious bug fixes, reviewed - Christophe should be able
to pull from here any time)
https://github.com/openSUSE/multipath-tools/tree/queue
(less obvious and larger changes reviewed on dm-devel,
this is where changes for new releases would be pulled from)
https://github.com/openSUSE/multipath-tools/tree/tip
(active development)

We should discuss the git workflow. Until now, I've always rebased my branches on Christophe's when pulling. I would like to switch to a merge-based workflow for "queue" and "fixes". This would make it easier for third parties to pull from these branches. It would mean that Christophe's repo won't keep a fully linear history. I'm not sure if that matters to anyone, but I wanted to ask anyway. The "tip" branch will continue to be rebased (onto "queue").

As discussed previously, changes regarding the multipath-tools code itself will continue to be posted on dm-devel. Other stuff such as github-specific changes (e.g. CI) might be handled via github PR, without bothering the list, unless anyone objects.

The previous openSUSE repo, which will be mostly stale from now on, is now found here:

https://github.com/openSUSE/multipath-tools-pre2021

Regards
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#6 lore raw

Re: [dm-devel] multipath-tools: NEW openSUSE github repo

Quoted 20 lines · Martin Wilck
Quoted 2 lines · Hannes Reinecke
Quoted 1 line

Looks good to me.

OK. I have renamed the repositories now. The new openSUSE repo is now reachable as

https://github.com/openSUSE/multipath-tools

The important branches have been renamed, please update your bookmarks:

https://github.com/openSUSE/multipath-tools/tree/fixes
(obvious bug fixes, reviewed - Christophe should be able
to pull from here any time)
https://github.com/openSUSE/multipath-tools/tree/queue
(less obvious and larger changes reviewed on dm-devel,
this is where changes for new releases would be pulled from)
https://github.com/openSUSE/multipath-tools/tree/tip
(active development)

Quoted 7 lines

We should discuss the git workflow. Until now, I've always rebased my branches on Christophe's when pulling. I would like to switch to a merge-based workflow for "queue" and "fixes". This would make it easier for third parties to pull from these branches. It would mean that Christophe's repo won't keep a fully linear history. I'm not sure if that matters to anyone, but I wanted to ask anyway. The "tip" branch will continue to be rebased (onto "queue").

Souds reasonable.

Quoted 5 lines

As discussed previously, changes regarding the multipath-tools code itself will continue to be posted on dm-devel. Other stuff such as github-specific changes (e.g. CI) might be handled via github PR, without bothering the list, unless anyone objects.

Sure.

-Ben

Quoted 8 lines

The previous openSUSE repo, which will be mostly stale from now on, is now found here:

https://github.com/openSUSE/multipath-tools-pre2021

Regards
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#7 lore raw

Re: [dm-devel] multipath-tools: NEW openSUSE github repo

Quoted 15 lines · Benjamin Marzinski
Quoted 12 lines · Martin Wilck

We should discuss the git workflow. Until now, I've always rebased my
branches on Christophe's when pulling. I would like to switch to a merge-based workflow for "queue" and "fixes". This would make it easier
for third parties to pull from these branches. It would mean that Christophe's repo won't keep a fully linear history. I'm not sure if
that matters to anyone, but I wanted to ask anyway. The "tip" branch
will continue to be rebased (onto "queue").

Quoted 1 line

Souds reasonable.

I made a first merge between "queue" and "fixes" now

Christophe, now would be the time to raise your voice if you dislike this.

https://github.com/openSUSE/multipath-tools/commits/queue
https://github.com/openSUSE/multipath-tools/commits/tip

Regards,
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#8 lore raw

Re: [dm-devel] multipath-tools: NEW openSUSE github repo

I like it very much.
I pulled "fixes" today.

Thank you for this reorganization of the SuSE repo.

Best regards,
Christophe.

Quoted 20 lines · Martin Wilck
Quoted 15 lines · Benjamin Marzinski
Quoted 12 lines · Martin Wilck

We should discuss the git workflow. Until now, I've always rebased my
branches on Christophe's when pulling. I would like to switch to a merge-based workflow for "queue" and "fixes". This would make it easier
for third parties to pull from these branches. It would mean that Christophe's repo won't keep a fully linear history. I'm not sure if
that matters to anyone, but I wanted to ask anyway. The "tip" branch
will continue to be rebased (onto "queue").

Quoted 1 line

Souds reasonable.

I made a first merge between "queue" and "fixes" now

Quoted 11 lines

Christophe, now would be the time to raise your voice if you dislike this.

https://github.com/openSUSE/multipath-tools/commits/queue
https://github.com/openSUSE/multipath-tools/commits/tip

Regards,
Martin

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel