how I ride the bullet - how I set up a testing environment

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: how I ride the bullet - how I set up a testing environment

Post by cmb » Mon Jul 27, 2020 12:08 pm

manu wrote:
Mon Jul 27, 2020 10:43 am
Wie entferne ich den global composer install? %APPDATA%\Composer\vendor und das dortige composer.json löschen?
Ja, das sollte passen. Oder halt das require-dev Objekt in composer.json leeren, und dann `composer update`.
manu wrote:
Mon Jul 27, 2020 10:43 am
CMSimple_XH > phan:

Der Befehl "phan" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Phan muss noch manuell installiert werden, das es PHP 5.6 nicht unterstützt.
manu wrote:
Mon Jul 27, 2020 10:43 am
CMSimple_XH > attack-tests:

PHPUnit 3.7.21 by Sebastian Bergmann.
Sieht aus als sei ein sehr altes PHPUnit im PATH (CMSimple_XH verwendet PHPUnit 5.7, was auch schon ziemlich alt ist).
Christoph M. Becker – Plugins for CMSimple_XH

manu
Posts: 1085
Joined: Wed Jun 04, 2008 12:05 pm
Location: St. Gallen - Schweiz
Contact:

Re: how I ride the bullet - how I set up a testing environment

Post by manu » Mon Jul 27, 2020 3:16 pm

composer require phan/phan:

Code: Select all

PS C:\xampp\htdocs\CMSimpleGit> composer require phan/phan                                                                                                                                                     Using version ^3.1 for phan/phan
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove phpdocumentor/reflection-common 1.0.1
    - Conclusion: don't install phpdocumentor/reflection-common 1.0.1
    - phpdocumentor/reflection-docblock 5.0.0 requires phpdocumentor/reflection-common ^2.0 -> satisfiable by phpdocumentor/reflection-common[2.0.0, 2.1.0, 2.2.0].
    - phpdocumentor/reflection-docblock 5.1.0 requires phpdocumentor/reflection-common ^2.0 -> satisfiable by phpdocumentor/reflection-common[2.0.0, 2.1.0, 2.2.0].
    - phpdocumentor/reflection-docblock 5.2.0 requires phpdocumentor/reflection-common ^2.2 -> satisfiable by phpdocumentor/reflection-common[2.2.0].
    - Can only install one of: phpdocumentor/reflection-common[2.0.0, 1.0.1].
    - Can only install one of: phpdocumentor/reflection-common[2.1.0, 1.0.1].
    - Can only install one of: phpdocumentor/reflection-common[2.2.0, 1.0.1].
    - Installation request for phpdocumentor/reflection-common (locked at 1.0.1) -> satisfiable by phpdocumentor/reflection-common[1.0.1].
    - Installation request for phan/phan ^3.1 -> satisfiable by phan/phan[3.1.0].
    - Conclusion: don't install phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 5.0.0|install phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 5.2.0
    - Conclusion: remove phpdocumentor/reflection-docblock 3.3.2|install phpdocumentor/reflection-docblock 5.0.0|install phpdocumentor/reflection-docblock 5.1.0|install phpdocumentor/reflection-docblock 5.2.0
    - phan/phan 3.1.0 requires felixfbecker/advanced-json-rpc ^3.0.4 -> satisfiable by felixfbecker/advanced-json-rpc[v3.0.4, v3.1.0, v3.1.1].
    - felixfbecker/advanced-json-rpc v3.0.4 requires phpdocumentor/reflection-docblock ^4.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4].
    - felixfbecker/advanced-json-rpc v3.1.0 requires phpdocumentor/reflection-docblock ^4.0.0 || ^5.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 5.0.0, 5.1.0, 5.2.0].
    - felixfbecker/advanced-json-rpc v3.1.1 requires phpdocumentor/reflection-docblock ^4.0.0 || ^5.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 5.0.0, 5.1.0, 5.2.0].
    - Can only install one of: phpdocumentor/reflection-docblock[4.0.0, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.0.1, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.1.0, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.1.1, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.2.0, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.3.0, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.3.1, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.3.2, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.3.3, 3.3.2].
    - Can only install one of: phpdocumentor/reflection-docblock[4.3.4, 3.3.2].
    - Installation request for phpdocumentor/reflection-docblock (locked at 3.3.2) -> satisfiable by phpdocumentor/reflection-docblock[3.3.2].


Installation failed, reverting ./composer.json to its original content.
PS C:\xampp\htdocs\CMSimpleGit>  
Ich meine, den phpDocumentor gar nie installiert zu haben. Ist das eine Abhängigkeit zu etwas?

cmss
Posts: 244
Joined: Mon Jan 02, 2017 6:15 pm

Re: how I ride the bullet - how I set up a testing environment

Post by cmss » Mon Jul 27, 2020 4:23 pm

Ich wollte mich eigentlich nicht einmischen, aber wenn ihre schon so aktiv seid, wann kommen dann die großen Neuerungen wie js-Addierer und css-Addierer per cache - oder studiert Ihre gerade, wie man eine Entwicklungsumgebung aufsetzt ?

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: how I ride the bullet - how I set up a testing environment

Post by cmb » Mon Jul 27, 2020 5:00 pm

manu wrote:
Mon Jul 27, 2020 3:16 pm
Ich meine, den phpDocumentor gar nie installiert zu haben. Ist das eine Abhängigkeit zu etwas?
phpdocumentor/reflection-docblock wird wohl indirekt von bartlett/phpcompatinfo benötigt – in einer alten Version. Nimm am besten das Phar – da gibt es garantiert keine Konflikte.

Für den Entwicklungsbranch sollten wir mal an Updates denken (und wenigstens auf PHP 5.6 für die Entwicklungsumgebung verzichten).
cmss wrote:
Mon Jul 27, 2020 4:23 pm
wann kommen dann die großen Neuerungen wie js-Addierer und css-Addierer per cache
Erst mal sollte CMSimple_XH 1.7.3 veröffentlicht werden; das allerdings ohne große Änderungen. Aber was meinst du mit "js-Addierer und css-Addierer per cache"?
Christoph M. Becker – Plugins for CMSimple_XH

cmss
Posts: 244
Joined: Mon Jan 02, 2017 6:15 pm

Re: how I ride the bullet - how I set up a testing environment

Post by cmss » Mon Jul 27, 2020 5:52 pm

Ich wollte euch nicht überholen und hatte meine cleane Version auf 1.73 statt 1.83 gesetzt - wer zuerst kommt ..? Ende August bin ich spätestens fertig (ohne Konkurrenzdenken).

Ich werde - wenn Ihr es nicht macht - im Laufe der Zeit in meine cleane Version (ähnlich wie schon beispielsweise bei gpeasy3.5 - den Code verstehen nur wenige - wenn der Entwickler verunglückt wars das) eine automatische Komprimierung und Addition der Template-csse und Js'se per cache-Datei einbinden. Das bringt google-Punkte (obwohl ich meistens über 90 bin). Eine Api ist ein anderes Thema. Erst einmal sollte es mit normalem CSS3 und Javascript sicher und komfortabel funktionieren. (Ich hatte übrigens mal in meiner Berufpraxis automatische Elektronik-Service Firmen - Dokumentationen, die nur die Firma selber verstand...dort aus gutem Grund.)
Ich kann mit der automatischen Doku wenig anfangen und benutze Xammp oder Laragon und phpstorm und https://github.com/VSCodium/vscodium)

olape
Posts: 2713
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: how I ride the bullet - how I set up a testing environment

Post by olape » Mon Jul 27, 2020 8:06 pm

cmss wrote:
Mon Jul 27, 2020 5:52 pm
...meine cleane Version ...im Laufe der Zeit in meine cleane Version
Ich hatte es schon vergessen, du hast es wenigstens einen Post lang nicht erwähnt. :roll:

Über die Hintergründe zur Lizenz von CMSimple und zur Namens- und Versionsangabe bei Forks solltest du dich informieren!
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

manu
Posts: 1085
Joined: Wed Jun 04, 2008 12:05 pm
Location: St. Gallen - Schweiz
Contact:

Re: how I ride the bullet - how I set up a testing environment

Post by manu » Tue Jul 28, 2020 8:15 am

Problem beim build_patch: (siehe Anhang) Betrifft nur die Verzeichnisse. Wir haben wohl keine Verzeichnisse hinzugefügt, daher sollte es keine Konsequenzen haben. Aber für die Fehlermeldung selber habe ich keine Idee. Das current .zip wird ja vom script ausgepackt..
You do not have the required permissions to view the files attached to this post.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: how I ride the bullet - how I set up a testing environment

Post by cmb » Tue Jul 28, 2020 8:32 am

Das ist "normal"; möglicherweise ein (Windows spezifischer?) Bug in phing; habe ich mir aber noch nicht näher angeschaut. Jedenfalls macht es keinen Sinn, ein Verzeichnis per file_get_contents() lesen zu wollen, und das Patch-Archiv müsste trotz der Fehlermeldungen richtig erzeugt worden sein.
Christoph M. Becker – Plugins for CMSimple_XH

cmss
Posts: 244
Joined: Mon Jan 02, 2017 6:15 pm

Re: how I ride the bullet - how I set up a testing environment

Post by cmss » Tue Jul 28, 2020 8:47 am

Über die Hintergründe zur Lizenz von CMSimple und zur Namens- und Versionsangabe bei Forks solltest du dich informieren!
Wie soll ich das verstehen - Gnu ist Gnu - und bisher gab es keine kommerziellen Einschränkungen. Und warum soll ich eine Version 1.74 machen. Ich brauche nur eine Version, die auch noch mit php 10 läuft. Warum macht ihr denn keine Version 1.8x ? Für phing sehe ich keinen wirklichen Grund - das kann ich auch händisch erledigen - wenn ich mal Zeit habe werde ich es ausprobieren. Den phpdocumentor gibt es jetzt in Version 2.91 mir RC3.0 https://github.com/phpDocumentor/phpDocumentor - Der wird auch von Zend und Jetbrains gefördert - mit Doxygen kann ich wenig anfangen.

P.S. Bei Windows 10 gibt es verschiedenste Sicherheitsprobleme bei Installationen. Man installiert besser auf einer Zweitpartition und unter einem Beutzer mit Administratorrechten. Manchmal hilft statt CMD nur die powershell. Bei PHP habe ich unter Xammp schon feststellen müssen, daß es manchmal falsche Pfade zu Unterverzeichnissen findet, bei denen es Teilstücke verschluckt.
Last edited by cmss on Tue Jul 28, 2020 10:35 am, edited 1 time in total.

olape
Posts: 2713
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: how I ride the bullet - how I set up a testing environment

Post by olape » Tue Jul 28, 2020 10:32 am

cmss wrote:
Tue Jul 28, 2020 8:47 am
Wie soll ich das verstehen
https://github.com/g7sim/cmsimple-XH-CL ... /README.md
--> Cmsimple-XH-CL-1.7.3 - beta 3

https://cmsimple.org/?Lizenzbedingungen
-->Es ist nicht erlaubt, CMSimple basierte Projekte unter dem Namen "CMSimple" oder "CMSimple + Versionsnr." zu veröffentlichen, die mit dem Original verwechselt werden könnten.

Leider ist der Text wohl nicht mehr ganz vollständig.
"CMSimple basierte Projekte (Forks, Packages, Lösungen/Solutions) müssen eine mit "_" verbundene Zusatzbezeichnung tragen."

Aber egal, deine Bezeichnung bricht die Lizenzbedingung in jedem Fall. Denn da ist kein "_".

zu 1.7.3

Die Milestones für XH sind fest und für jeden einsehbar.
Wie sinnvoll ist es also, in einem Fork aus einer 1.7.2 eine 1.7.3 zu machen, die nichts mit der eigentlichen 1.7.3 zu tun hat?
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

Post Reply