Giter Site home page Giter Site logo

Comments (10)

buanet avatar buanet commented on August 15, 2024 1

Ok.
My point is still that a text editor is not necessary for successfully setting up and running the container. For most users I see no use case for editing files directly.
For example: Things like modifying iobroker.json work via command line ("iobroker setup custom")...

As I try to keep the image as slim as possible I will not add an editor package or any other "standard" tool directly to the image. Only packages needed for a clean and successful installation and first start of an iobroker container will be installed by default.
All additional packages can be defined by the use of the env "PACKAGES" or should be installed manually when they are needed.

BUT: As I defined a "standard value" for env "PACKAGES" in the dockerfile I will set this to "vi".

Regards,
André

from iobroker.docker.

buanet avatar buanet commented on August 15, 2024

As everybody has his own favorite editor (for me it is nano), I will not add vim to the image. Please use ENV "PACKAGES".

Regards,
André

from iobroker.docker.

jpawlowski avatar jpawlowski commented on August 15, 2024

It’s not about favorites, it’s about standards everyone knows that it’s always there 🙄

from iobroker.docker.

buanet avatar buanet commented on August 15, 2024

Please reference the standards you are talking about. Official Debian Wiki gives no hint about "standard editors" in Debian (https://wiki.debian.org/TextEditor).
Furthermore the image (amd64) is based on the official Debian Docker image (https://hub.docker.com/_/debian) which includes no standard editor.

Regards,
André

from iobroker.docker.

jpawlowski avatar jpawlowski commented on August 15, 2024

It is no ISO standard, it is what people are used to as a minimum editor on every system that is intended for interactive login. A minimum baseline Debian Docker image is usually not intended for interactive login. Also, this image is not designed for immediate use - it is a basis to create actual images
However, ioBroker is one of many cases where you would regularly login in interactive mode to run commands and change files.

First thing you expect to be there on any unknown system is VIM - it is simply one of the oldest editors for *Unix. I know there are quite many semi-professionals who don't like to use VIM because of it's very special way of use. But this is also exactly why this lightweight editor is there for over 3 decades and it is the de-facto fallback editor you always expect to be there if nothing else is installed. nano for sure is not the first editor a professional would expect to open in the first place (that is, because it is simply not installed on so many servers while VIM is).

Anyway - if the intention of this image is a ready-to-use philosophy either it should include VIM, or it is imply not ready to use without immediate customisation (which I personally find to be odd - but maybe that's just me having too high expectations...).

from iobroker.docker.

Apollon77 avatar Apollon77 commented on August 15, 2024

The Unix standard is “vi” ;-) Debian decided to stay with vi as default. Ubuntu for instance uses vim ... but so it is based on the basic distribution... and here we have Debian as Basis. So I understand the position here.

from iobroker.docker.

jpawlowski avatar jpawlowski commented on August 15, 2024

Call it VIM or "vi", it is meant to be the same thing ;) (as there would usually always be an alias set for vi).
(see here)

from iobroker.docker.

Apollon77 avatar Apollon77 commented on August 15, 2024

Nooooooo vi is original and also available on nearly all other Unix derivates (As/400 and such). Vim is the “better vi” with more easy usage and compatible in usage. But much enhanced, and therefor often used as alias. ;-)

Unix has a veeeeeery long history ;-)

from iobroker.docker.

jpawlowski avatar jpawlowski commented on August 15, 2024

I know, I'm quite (and almost) old as well :-p
At the end of the day, any of those two variants will do for just "bare metal" editing ^_^

from iobroker.docker.

jpawlowski avatar jpawlowski commented on August 15, 2024

Thanks! It is not about editing but also about viewing and browsing through file content.

from iobroker.docker.

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.