Giter Site home page Giter Site logo

Comments (7)

skarekrow avatar skarekrow commented on July 28, 2024 1

Agreed. We'd need to label them accordingly as well.

Perhaps putting a (UNSUPPORTED -- HOST TOO OLD) or something similar to the EOL stuff I do in fetch is a nice enough reminder.

It's not about diverging, but we need to fetch releases for testing purposes. I'm thinking out loud here what bothers me while implementing.

Fair enough :)

from libioc.

skarekrow avatar skarekrow commented on July 28, 2024

Adding to milestone as the python version supports a variant of this.

from libioc.

skarekrow avatar skarekrow commented on July 28, 2024

So my input is to do it how I did it in the current implementation. The user may be using his own mirror and gets worried that the RELEASEs he added aren't showing up. He may be just using it as a list with intention of double checking before a host upgrade for instance.

While the message above is useful, if the user types iocage fetch -r RELEASE, we are still going to bail out anyways, so hiding the content on the server is not terribly useful. It also serves as a reminder that FreeBSD has been updated, and the host is out of date, in which case seeing precisely which RELEASEs exist would be a helpful feature for the user.

from libioc.

gronke avatar gronke commented on July 28, 2024

The user may be using his own mirror and gets worried that the RELEASEs he added aren't showing up.

When the user creates a jail from a custom release, there is no further check on the release version. This is only relevant when starting basejails or creating standalone jails.

He may be just using it as a list with intention of double checking before a host upgrade for instance.

What's the benefit in testing unsupported software that will never make it to production?

It also serves as a reminder that FreeBSD has been updated

It might have a reason to not upgrade a machine. We can print a warning that the host is EOL (looking at #18), but I would rather leave it to the OS itself to notify the user. That's not our business.

--

What if we grey out unsupported and EOL releases with the difference that unsupported releases are sorted to the beginning of the list without a number to select assigned?

from libioc.

skarekrow avatar skarekrow commented on July 28, 2024

When the user creates a jail from a custom release, there is no further check on the release version. This is only relevant when starting basejails or creating standalone jails.

That doesn't make sense, we are talking about fetch. Not create or start.

What's the benefit in testing unsupported software that will never make it to production?

Just a contrived scenario, I'm not the user :D They will impress you with use cases

It might have a reason to not upgrade a machine. We can print a warning that the host is EOL (looking at #18), but I would rather leave it to the OS itself to notify the user. That's not our business.

Fair enough, but then they can't fetch a newer release for jail creation. I don't see the point in differing from the current implementation I've done in regards to this.

What if we grey out unsupported and EOL releases with the difference that unsupported releases are sorted to the beginning of the list without a number to select assigned?

How do you suggest we grey things out? If the user isn't using color, that won't translate. It's odd they can't be selectable, but yet are in the list. Once again, I don't see a reason to diverge how I do it in the current implementation.

from libioc.

gronke avatar gronke commented on July 28, 2024

If the user isn't using color, that won't translate

Agreed. We'd need to label them accordingly as well.

Once again, I don't see a reason to diverge how I do it in the current implementation.

It's not about diverging, but we need to fetch releases for testing purposes. I'm thinking out loud here what bothers me while implementing.

from libioc.

gronke avatar gronke commented on July 28, 2024

Implemented in 96fd0a5

from libioc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.