farmOS is a web-based application for farm management, planning, and record keeping. It is developed by a community of volunteers and aims to provide a standard platform for farmers, developers, and researchers to build upon
Go to file
Pedro e434715e74 Don't lock ext-simplexml to PHP 7 #546
When installing from scratch, I am getting a PHP7 requirement:

```
 ddev composer create farmos/project --stability dev --no-interaction
Warning: MOST EXISTING CONTENT in the composer root (/Users/pcambra/webs/ecotrust/vanilla-farmos) will be deleted by the composer create-project operation. Only .ddev, .git and .tarballs will be preserved.
Would you like to continue? [Y/n] (yes):
Removing any existing files in composer root
Executing composer command: [composer create-project farmos/project --stability dev --no-interaction /tmp/GtolPx]

Creating a "farmos/project" project at "/tmp/GtolPx"
Installing farmos/project (2.x-dev 5214879c44c421e5160a0091412279ea6790f979)
  - Downloading farmos/project (2.x-dev 5214879)
  - Installing farmos/project (2.x-dev 5214879): Extracting archive
Created project in /tmp/GtolPx
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - farmos/farmos[2.0.0-beta1, ..., 2.0.0-beta5] require ext-simplexml ^7.4 -> it has the wrong version installed (8.0.16).
    - Root composer.json requires farmos/farmos ^2@beta -> satisfiable by farmos/farmos[2.0.0-beta1, ..., 2.0.0-beta5].

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/8.0/cli/php.ini
    - /etc/php/8.0/cli/conf.d/10-mysqlnd.ini
    - /etc/php/8.0/cli/conf.d/10-opcache.ini
    - /etc/php/8.0/cli/conf.d/10-pdo.ini
    - /etc/php/8.0/cli/conf.d/15-xml.ini
    - /etc/php/8.0/cli/conf.d/20-apcu.ini
    - /etc/php/8.0/cli/conf.d/20-assert.ini
    - /etc/php/8.0/cli/conf.d/20-bcmath.ini
    - /etc/php/8.0/cli/conf.d/20-bz2.ini
    - /etc/php/8.0/cli/conf.d/20-calendar.ini
    - /etc/php/8.0/cli/conf.d/20-ctype.ini
    - /etc/php/8.0/cli/conf.d/20-curl.ini
    - /etc/php/8.0/cli/conf.d/20-dom.ini
    - /etc/php/8.0/cli/conf.d/20-exif.ini
    - /etc/php/8.0/cli/conf.d/20-ffi.ini
    - /etc/php/8.0/cli/conf.d/20-fileinfo.ini
    - /etc/php/8.0/cli/conf.d/20-ftp.ini
    - /etc/php/8.0/cli/conf.d/20-gd.ini
    - /etc/php/8.0/cli/conf.d/20-gettext.ini
    - /etc/php/8.0/cli/conf.d/20-iconv.ini
    - /etc/php/8.0/cli/conf.d/20-igbinary.ini
    - /etc/php/8.0/cli/conf.d/20-imagick.ini
    - /etc/php/8.0/cli/conf.d/20-intl.ini
    - /etc/php/8.0/cli/conf.d/20-ldap.ini
    - /etc/php/8.0/cli/conf.d/20-mbstring.ini
    - /etc/php/8.0/cli/conf.d/20-msgpack.ini
    - /etc/php/8.0/cli/conf.d/20-mysqli.ini
    - /etc/php/8.0/cli/conf.d/20-pdo_mysql.ini
    - /etc/php/8.0/cli/conf.d/20-pdo_pgsql.ini
    - /etc/php/8.0/cli/conf.d/20-pdo_sqlite.ini
    - /etc/php/8.0/cli/conf.d/20-pgsql.ini
    - /etc/php/8.0/cli/conf.d/20-phar.ini
    - /etc/php/8.0/cli/conf.d/20-posix.ini
    - /etc/php/8.0/cli/conf.d/20-readline.ini
    - /etc/php/8.0/cli/conf.d/20-redis.ini
    - /etc/php/8.0/cli/conf.d/20-shmop.ini
    - /etc/php/8.0/cli/conf.d/20-simplexml.ini
    - /etc/php/8.0/cli/conf.d/20-soap.ini
    - /etc/php/8.0/cli/conf.d/20-sockets.ini
    - /etc/php/8.0/cli/conf.d/20-sqlite3.ini
    - /etc/php/8.0/cli/conf.d/20-sysvmsg.ini
    - /etc/php/8.0/cli/conf.d/20-sysvsem.ini
    - /etc/php/8.0/cli/conf.d/20-sysvshm.ini
    - /etc/php/8.0/cli/conf.d/20-tokenizer.ini
    - /etc/php/8.0/cli/conf.d/20-uploadprogress.ini
    - /etc/php/8.0/cli/conf.d/20-xmlreader.ini
    - /etc/php/8.0/cli/conf.d/20-xmlrpc.ini
    - /etc/php/8.0/cli/conf.d/20-xmlwriter.ini
    - /etc/php/8.0/cli/conf.d/20-xsl.ini
    - /etc/php/8.0/cli/conf.d/20-zip.ini
    - /etc/php/8.0/cli/conf.d/25-memcached.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-simplexml` to temporarily ignore these required extensions.
Failed to create project:exit status 2, stderr=
```

I think leaving the dependency as "*" would fix this.
2022-06-23 07:42:08 -04:00
.github Fix scheduled test runs fail after #523 was merged #524 2022-04-18 15:45:31 -04:00
.tugboat Create test users with manager, worker and viewer roles. 2021-04-19 13:06:40 -04:00
docker Allow dealerdirect/phpcodesniffer-composer-installer composer plugin. 2022-06-14 13:27:26 -04:00
docs Document how to use farmOS-map elements and behaviors in farmOS modules. 2022-06-19 10:29:43 -04:00
modules Render without location and move asset button by default. 2022-06-21 08:12:22 -04:00
src/Form Remove the need for "disabled" modules in FarmModulesForm. 2021-08-23 10:41:50 -04:00
.gitattributes Classify *.install, *.inc, *.module, and *.profile files as PHP for linguist. 2020-10-07 11:54:49 -04:00
.gitignore Add instructions about how to update documentation to documentation 2020-11-12 20:14:57 -05:00
CHANGELOG.md Add CHANGELOG.md record for issue #3290993. 2022-06-21 08:43:42 -04:00
CODE_OF_CONDUCT.md Adopt the Contributor Covenant Code of Conduct. 2022-02-16 11:06:19 -05:00
CONTRIBUTING.md Initial commit of CONTRIBUTING.md. This is mostly moved from https://farmOS.org/community/contribute. 2020-11-25 09:02:05 -05:00
COPYRIGHT.txt Update copyright year. 2021-12-28 14:37:36 -05:00
LICENSE.txt add GPLv2 LICENSE.txt 2017-08-21 16:38:49 -04:00
README.md Update Matrix.org chat badge link (app.element.io instead of riot.im). 2022-05-24 21:32:56 -04:00
composer.json Don't lock ext-simplexml to PHP 7 #546 2022-06-23 07:42:08 -04:00
composer.libraries.json Update farmOS-map to v2.0.4. 2022-04-07 14:58:23 -04:00
composer.project.json Update Drupal core to 9.3.16 for SA-CORE-2022-011. 2022-06-11 08:34:26 -04:00
farm.info.yml Issue #3257430: Do not allow the default language to be changed from English 2022-01-12 06:04:39 -05:00
farm.install Change all relevant links from farmOS.org to v1.farmOS.org. 2021-12-21 19:18:39 -05:00
farm.profile Move farm_material to optional modules. 2022-04-15 09:00:14 -04:00
mkdocs.yml Document how to use farmOS-map elements and behaviors in farmOS modules. 2022-06-19 10:29:43 -04:00

README.md

farmOS

Licence Release Last commit Docker Twitter Chat Backers on Open Collective Sponsors on Open Collective

farmOS is a web-based application for farm management, planning, and record keeping. It is developed by a community of volunteers and aims to provide a standard platform for farmers, developers, and researchers to build upon.

Official website: farmOS.org

GETTING STARTED

If you would like to install and host farmOS yourself, see the official documentation on farmOS.org: https://farmOS.org/hosting/install

If you would like to pay for hosting, Farmier provides affordable options for individual farms and organizations.

MAINTAINERS

Current maintainers:

This project has been sponsored by:

CONTRIBUTORS

This project exists thanks to all the people who contribute.

OPENCOLLECTIVE BACKERS

Thank you to all our OpenCollective backers! [Become a backer]

OPENCOLLECTIVE SPONSORS

Support this project by becoming an OpenCollective sponsor. Your logo will show up here with a link to your website. [Become a sponsor]