Git Product home page Git Product logo

Comments (4)

hikavdh avatar hikavdh commented on September 25, 2024

Two things, maybe more.
First I did not at any time look at macOS and I do not intend to do that. First it is linux and I will treat it as such, second me and mac hate each other, even more then I dislike MS and that goes back way farther then when mac embraced linux. It structurally always has tried to think for me and most of the time has thought wrong!
Secondly the source_dir in setup.py is only to place a backup copy of the two main json files and as such is the same as the backup location in the main program, which is the same location used as when you run --install as root.

from tvgrabpyapi.

hikavdh avatar hikavdh commented on September 25, 2024

There is something to say for choosing /var/local or /opt/var (/opt should be a simlink to /usr/local and /opt/local does not exist in any linux or unix scheme!) but I have so far only seen /usr used this way. I use gentoo which is hardcore linux.

from tvgrabpyapi.

hikavdh avatar hikavdh commented on September 25, 2024

Let me elaborate a little. Apple adopted linux as their kernel, like Novell did and as MS will do in due time. Linux (and Unix) or Posix have a directory scheme. Adopting the kernel is adopting the scheme. The differences should only be in their X implementation. /opt/local does not exist in any variation as it is a double. At present there is a movement (I applaud) to get rid of all extra and superfluous directories in this scheme. /bin and /sbin should move to /usr merging with those in there, /opt and /usr/local are the same. I have them simlinked.
This program is outside X, so mac-OS should be 100%% linux in this respect and there should be no difference!

from tvgrabpyapi.

macfreek avatar macfreek commented on September 25, 2024

Hi Hika,

I see you have a strong opinion on this. I'm not going to defend the way Apple selected paths. I don't like some of their choices either. That said, this is the system I have to deal with. Now I fully understand and appreciate your decision not to write a letter code for this hateful OS :). However, would you be willing to consider code contributions?

That said, I have a few comments to make about your rant:

  • You mentioned that mac-OS should be 100% linux. No, it is not. It is Posix compatible (and even Posix certified), but it does not follow FHS (for good or -arguably- bad). Also, Mac OS is not based on Linux at all. It is based on BSD (the Mach kernel to be specific).
  • Posix does not enforce a directory structure, the Filesystem Hierarchy Standard (FHS) does. Unlike Mac OS, most Unix version thankfully follow the FHS. Unfortunately, that's no guarantee it is all the same. Let's consider FreeBSD which both has a /usr/local/etc directory and a /etc, based on how you installed a piece of software (manually or with a package). You and I may not like this (well, I don't), but that's just what the distribution uses. Hard-coding /etc breaks with that.
  • As for /opt/local, this is a choice by Ports, a Package manager. This is not a standard Mac OS path. I previously used Fink, which used /sw. Ugly? Yes! In my power to change? No.

I propose to keep this closed and focus on user-specified ways to change default paths. I can perfectly live with software that decide to ignore all those cockamamie defaults paths dictated by Mac OS X. I have a harder time living with software that hard-code paths without the option to customize it. It's no coincidence that I opened #4 first. Flexibility is key.

from tvgrabpyapi.

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.