Comments (7)
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.
Adding to milestone as the python version supports a variant of this.
from libioc.
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.
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.
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.
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.
Implemented in 96fd0a5
from libioc.
Related Issues (20)
- Exporting ZFS basejails includes basejail datasets
- provisioning does not cleanup mounted resources HOT 1
- ioc pkg no longer works HOT 2
- `ioc destroy -f` should call `ioc stop -f` HOT 3
- DHCP no longer works HOT 3
- Disable sendmail, for real please
- Symlink race condition
- Broken create Jail with net address already available on host HOT 3
- FreeBSD package names can contain dots
- Exporting jails fails with AbsolutePath error
- Unable to build under 12.1-p2 (python3.7)
- ZFS root dataset is not mounted HOT 1
- METADATA is incomplete
- Missing files in sdist
- how to (remember to) reload /etc/pf.conf when (re)starting a jail HOT 3
- fdescfs is no longer necessary HOT 1
- libioc's pkg feature can conflict badly with its provisioning feature HOT 1
- Network's __create_new_epair_interface function parameter nic_suffix_b is ignored
- Export without fstab fails
- EOL Warnings fail download on FreeBSD 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libioc.