Installed software in folder#

This page is generated from the code and must not be edited by hand.

A folder is recognized as an installed program, such as a copy of Fiji or a Python environment, from the parts it holds, a name ending .app, its program-style subfolders or a majority of program files; its files are still indexed and read, and rules about experiments leave them alone.

installed_software_in_folder version 3

  • Kind of rule: What is raised for attention (flags). Raises something for a person’s attention without concluding anything.

  • What it concludes: a finding

  • Reasoning: defeasible. A conclusion is usually right, and is retracted when a rule it names concludes against it.

  • What it reads: one folder at a time

Is it available in this version?#

Yes. The engine runs it.

What would defeat it#

It names no rule whose conclusion would defeat it.

This rule is named as what would defeat:

Parameters#

Parameter

Shipped value

May be

What it does

archive_suffixes

[".zip", ".tar.gz", ".tgz", ".tar.bz2", ".tar.xz", ".tar"]

list of text

Endings of an archive’s name, compared without case: a folder of code with an archive of its own name beside it (dapi.zip, dapi-0.3.tar.gz) was shared as that archive.

minimum_code_share

0.5

number, from 0 to 1

The share of a folder’s files that must be one kind’s code for the archive beside it to make it a package.

bundle_name_suffixes

[".app"]

list of text

Endings of a folder’s own name that packaging gives an application: a macOS application is a folder so named, and Fiji keeps the name on every platform. Raised as an application bundle where no known program’s parts name it.

layout_folder_names

["bin", "sbin", "lib", "lib64", "libexec", "include", "share", "site-packages", "dist-packages", "Frameworks", "__pycache__", "node_modules"]

list of text

Folder names packaging conventions give an installed program’s parts, compared without case. Two of them side by side is a layout; one alone is a word a laboratory might use.

minimum_layout_folders

2

whole number, from 1 to 20

How many of those folders the folder must hold directly.

program_extensions

["h", "hpp", "so", "dylib", "dll", "a", "o", "lib", "pyc", "pyd", "class", "jar", "exe"]

list of text

Extensions of compiled objects, libraries and headers, which a program carries and a laboratory’s analysis does not. A laboratory’s own scripts are left out on purpose: code a person wrote is not an installed program.

minimum_program_files

20

whole number, from 1 to 100000

How many such files the folder must hold directly, so a folder with a stray header is not a program’s.

minimum_program_share

0.5

number, from 0 to 1

The share of the folder’s files they must make up.

manifest_names

["setup.py", "setup.cfg", "pyproject.toml", "package.json", "CMakeLists.txt", "Makefile", "configure", "Cargo.toml"]

list of text

Packaging files, compared without case: cited where a layout signal raises the folder, and never enough alone.