Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New channel suggestion: oldest-supported #1818

Open
pachulo opened this issue Aug 24, 2021 · 10 comments
Open

New channel suggestion: oldest-supported #1818

pachulo opened this issue Aug 24, 2021 · 10 comments
Labels
feature New feature or request

Comments

@pachulo
Copy link
Member

pachulo commented Aug 24, 2021

Lately I've been updating my nextcloud instance in a more conservative way, which means that I only update to the next major versions once the one I have goes out of support; that's why right now it's on 20/stable and will stay there till October.

That also means that on that date I will need to manually update my instance to 21/stable so my instance is not on an unsupported version even for a day.

Being the channels concept one of the best features of the snap ecosystem, I was thinking about the possibility of having a channel for that use case: one that would follow the oldest supported version of nextcloud (oldest-supported as the tentative name).

Do you think that makes sense @kyrofa ?

Thanks!

@kyrofa
Copy link
Member

kyrofa commented Aug 24, 2021

I'm glad to hear you're following the older channels-- I'm not, which makes it easier than I'd care to admit to not take care of them as I should. However, as far as I'm aware, the ability to point channels to others isn't a feature that Canonical has deigned to expose to end users. Each of the supported channels you're talking about exist because I'm manually releasing each revision into each channel for each architecture. It's a bit tedious and there are lot of moving pieces, and this would just add another one. I'm afraid I would forget about it every once in a while, which would be worse than not having it in the first place, honestly.

@pachulo
Copy link
Member Author

pachulo commented Aug 26, 2021

I'm glad to hear you're following the older channels-- I'm not, which makes it easier than I'd care to admit to not take care of them as I should.

No worries, that's my way to contribute a little back to the project. I really appreciate all your free time you invested here!

However, as far as I'm aware, the ability to point channels to others isn't a feature that Canonical has deigned to expose to end users.

That's a pity.

Each of the supported channels you're talking about exist because I'm manually releasing each revision into each channel for each architecture.

Actually, I thought most of the process was automated using snapcraft & launchpad...can you develop a little bit more on the release process?

@github-actions
Copy link

This issue is stale because it has been without activity for 60 days. It will be closed after 7 more days of inactivity.

@github-actions github-actions bot added the Stale label Oct 26, 2021
@r4co0n
Copy link
Contributor

r4co0n commented Oct 26, 2021

Please don't let this interesting conversation die, cleanup bot.

@kyrofa, could we try to automate your current release process as much as possible so forgetting stuff is impossible or at least results in errors/bugs somwhere?

@kyrofa
Copy link
Member

kyrofa commented Oct 26, 2021

I'd love to, but it basically requires writing my own CI system on top of snapcraft. I've actually done pieces of that in the past for the snap builder, but then snapcraft started using snaps to build go stuff in the next base (core18) and it broke our ability to (easily) build in docker, which broke the snap builder. I haven't had the fuel to rewrite it to run in lxd or a VM. And that's just for building a snap-- actually automating my release process would be quite the time investment indeed. It would actually be a product unto itself. I've been toying with the idea of making such a thing and selling it 😛 . Just not sure the demand is there.

@r4co0n
Copy link
Contributor

r4co0n commented Oct 26, 2021

We could try. Maybe an ansible role shipped with this source, bootstrapping both a development environment and automating releases, could be introduced? (Suggesting it as it is my go-to for this.) If snapcraft or other relevant tooling change how we ought to do stuff, we can at least blame a line in the deployment. That's progress, right? ;)

@r4co0n
Copy link
Contributor

r4co0n commented Oct 26, 2021

I have the development part already available for local builds, though pretty rudimentary and prone to some cleanups if someone else should ever fix it.

@kyrofa
Copy link
Member

kyrofa commented Oct 26, 2021

Here's a blog post describing that snap builder, in case anyone is curious.

@github-actions github-actions bot removed the Stale label Oct 27, 2021
@pachulo
Copy link
Member Author

pachulo commented Nov 1, 2021

@kyrofa regarding this issue only, and while we still don't have the implementation you describe, do you think it would make sense for me to take on this duty? I mean, I'm already doing this for my own instance, so I could, for example, ping you when the time to update the channel did come.

@github-actions
Copy link

github-actions bot commented Jan 1, 2022

This issue is stale because it has been without activity for 60 days. It will be closed after 7 more days of inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants