Sylvestre Ledru wrote... > Le 07/01/2021 à 11:15, Christoph Biedl a écrit : > > > > So can you provide an outline what needs to be done? On a scale between > > "Adjust dependencies and everything should be fine, some testing > > required though" and "Probably everything is broken, entire packaging > > needed to be re-done from scratch, also dozens of patches required". > Unfortunatelly, I don't know. It has been disabled a few years ago. Upstream > is moving quite fast... Maybe new dependencies, etc. > > Sorry about that :(
Well, I gave it a try, and after some adjustments (patch attached, against 0~git20200925-1) I managed to build and install phabricator, and got until the intial dashboard. In other words, I think it's worth an idea to re-enable phabricator, at least in experimental. Then a decision of whether to include that in the next release can be postponed until more experience and feedback has been collected. A few remarks: * It seemed wise to create the local config file as valid JSON. * The phd.pid-directory configuration option no longer exists. * The fpm-socket needs an adjustment. It should rather be unix:/run/php/php7.4-fpm.sock but I doubt it's a good idea to ship a versioned file name. Note, this is not included in the patch. The webserver used was nginx, installation was on an updated testing. There is certainly room for improvement, still better than nothing. Cheers, Christoph
diff --git a/debian/control b/debian/control index f006bc6..bbf0055 100644 --- a/debian/control +++ b/debian/control @@ -32,31 +32,32 @@ Description: Command line interface for Phabricator (review platform) with Phabricator installs to send code for review, download patches, transfer files, view status, make API calls, and various other things. -# Package: phabricator -# Architecture: all -# Depends: arcanist, -# dbconfig-common (>= 1.8.8), -# fonts-font-awesome, -# jq, -# libapache2-mod-php5 | libapache2-mod-php5filter | php5-fpm | php5, -# libjs-d3, -# libphutil (= ${source:Version}), -# php5-cli, -# php5-curl, -# php5-mysql | php5-mysqli | php5-mysqlnd, -# po-debconf, -# ucf, -# ${misc:Depends} -# Recommends: apache2 (>= 2.2.7) | lighttpd | nginx | httpd, php5-apcu, php5-gd, mariadb-server | default-mysql-server | virtual-mysql-server -# Suggests: python, npm -# Description: Software engineering platform -# Phabricator is an open source collection of web applications which make it -# easier to write, review, and share source code. -# . -# Features: -# * Review Code: Review others' code with Differential -# * Track Bugs: You can keep track of all the defects, -# and problems in your awful software with Maniphest. -# * Browse Source: You can browse source code on the web with Diffusion -# * Wiki: You can write things down in Phriction -# * ... and others +Package: phabricator +Architecture: all +Depends: arcanist, + dbconfig-common (>= 1.8.8), + fonts-font-awesome, + jq, + libapache2-mod-php5 | libapache2-mod-php5filter | php-fpm, + libjs-d3, + libphutil (= ${source:Version}), + php-cli, + php-curl, + php-mbstring, + php-mysql | php-mysqli | php-mysqlnd, + po-debconf, + ucf, + ${misc:Depends} +Recommends: apache2 (>= 2.2.7) | lighttpd | nginx | httpd, php-apcu, php-gd, mariadb-server | default-mysql-server | virtual-mysql-server +Suggests: python, npm +Description: Software engineering platform + Phabricator is an open source collection of web applications which make it + easier to write, review, and share source code. + . + Features: + * Review Code: Review others' code with Differential + * Track Bugs: You can keep track of all the defects, + and problems in your awful software with Maniphest. + * Browse Source: You can browse source code on the web with Diffusion + * Wiki: You can write things down in Phriction + * ... and others diff --git a/debian/phabricator.postinst b/debian/phabricator.postinst index 0126c7e..9c4d799 100755 --- a/debian/phabricator.postinst +++ b/debian/phabricator.postinst @@ -38,7 +38,7 @@ for dir in $repo_default_local_path $log_directory; do fi done -touch $local_conf_file +[ -f "$local_conf_file" ] || echo '{}' >"$local_conf_file" set_config() { #we check if the configuration option is already set or not, in order to avoid overwritting local modifications @@ -55,7 +55,6 @@ set_config storage.local-disk.path $local_disk_path #see http://us3.php.net/date_default_timezone_get set_config phabricator.timezone $(cat /etc/timezone) -set_config phd.pid-directory "/run/phabricator" #repository.default-local-path is where phabricator daemon will set up repositories set_config repository.default-local-path $repo_default_local_path set_config phd.log-directory $log_directory
signature.asc
Description: PGP signature