Project

General

Profile

feature request #6812

Improve TaxEditor download site

Added by Andreas Müller over 1 year ago. Updated 8 months ago.

Status:
Feedback
Priority:
Highest
Category:
documentation
Target version:
Start date:
07/14/2017
Due date:
% Done:

90%

Severity:
normal

Description

The current download site (https://dev.e-taxonomy.eu/download/taxeditor/stable/) for the TaxEditor is very cryptic.

Filenames like eu.etaxonomy.taxeditor.product-win32.win32.x86_64.zip are very difficult to understand for the users and for unexperienced users it is difficult to find out which file is the correct one for there system.

We should adapt the download site in a way that it

  • guesses which files are the most probable candidates for the client system (e.g. by evaluating the http operating systme attribute)
  • offers them by download buttons
  • uses human readable labels and file names
  • offers help for determinating additional information needed (e.g. if java installed, and if yes, which version)

UPDATE:

In the standup today we decided to place the beautiful download page at https://cybertaxonomy.eu/taxeditor/download

Since the parent folder is a page from the maven site doc for the taxeditor we potentially could put the new download page into the maven site doc if it is possible to use plain html pages in site doc. Otherwise we can place it somewhere below https://dev.e-taxonomy.eu/download/ like https://dev.e-taxonomy.eu/download/html or https://dev.e-taxonomy.eu/download/taxeditor/html and configure a redirect or request forwarding to this location.

Associated revisions

Revision 1922fc2a (diff)
Added by Andreas Müller about 1 year ago

ref #6812 adapt download site on https://cybertaxonomy.eu/taxeditor/index.html to link to stable

History

#1 Updated by Andreas Kohlbecker over 1 year ago

The download site is themed generically for all subfolders of https://dev.e-taxonomy.eu/download/.
The according settings are found in the apache configuration:

/var/www/download/.htaccess
/var/www/download/style.css

#2 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.9 to Release 4.10

#3 Updated by Andreas Müller about 1 year ago

what's about the new download page? Can we put it online with the next weeks release?

#4 Updated by Andreas Müller about 1 year ago

  • Status changed from New to Resolved
  • Assignee changed from Fabian Reimeier to Andreas Müller

#5 Updated by Andreas Müller about 1 year ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

We today decided to put the download site to https://dev.e-taxonomy.eu/download/taxeditor/stable/ (before it was on https://dev.e-taxonomy.eu/download/taxeditor/) as this is the URL that we usually promote.
The problem here is that putting the files into this folder we need to move them after each release to the new stable folder as stable is only a symbolic link.
Is there a solution for this?

#6 Updated by Andreas Müller about 1 year ago

  • % Done changed from 0 to 70

#7 Updated by Andreas Kohlbecker about 1 year ago

Andreas Müller wrote:

We today decided to put the download site to https://dev.e-taxonomy.eu/download/taxeditor/stable/ (before it was on https://dev.e-taxonomy.eu/download/taxeditor/) as this is the URL that we usually promote.
The problem here is that putting the files into this folder we need to move them after each release to the new stable folder as stable is only a symbolic link.
Is there a solution for this?

You can have the new download page in https://dev.e-taxonomy.eu/download/taxeditor and keep the actual download files in /stable/. To achieve this you only need to adapt the download links in the new download page. But keep in mind that this will make the directory listing of download/taxeditor/ unaccessible.

... as this is the URL that we usually promote.
We could start promoting another download URL:

The taxeditor product page is at https://cybertaxonomy.eu/taxeditor/ the download URL aa https://cybertaxonomy.eu/taxeditor/download would be quite logical

#8 Updated by Andreas Müller about 1 year ago

Andreas Kohlbecker wrote:

But keep in mind that this will make the directory listing of download/taxeditor/ unaccessible.

This is the reason why we moved it to /stabel. We need download/taxeditor/ to be accessible otherwise it is not possible for ordinary users e.g. to navigate to the nightly or older TaxEditor versions.

If we want download/taxeditor/ to be the folder for the current stable version only we probably need to change the underlying structure with having all versions in e.g. a subfolder.
One possibility would be to move all content from download/taxeditor/ to download/taxeditor/versions/ and then link the links on the new download page to download/taxeditor/versions/stable. But this requires to change all scripts (e.g. jenkins) to this new structure.

We should also consider to do the same for all other products (CDM server, dataportal, ....).

#9 Updated by Andreas Müller about 1 year ago

Walter:

Aber die neue Download-Liste sieht ja schick aus! Aber leider kann ich jetzt nicht mehr das Datum der Datei checken (vor dem Download). Sollte vielleicht die zum Download angebotene Version irgendwo aufscheinen?

#10 Updated by Patrick Plitzner about 1 year ago

If I remember correctly, the proposed download should be highlighted. But when I go onto the website (Linux 64bit) my OS is retrieved correctly but the none of the download buttons is not highlighted.

#11 Updated by Andreas Kohlbecker about 1 year ago

  • Description updated (diff)

In the standup today we decided to place the beautiful download page at https://cybertaxonomy.eu/taxeditor/download

Since the parent folder is a page from the maven site doc for the taxeditor we potentially could put the new download page into the maven site doc if it is possible to use plain html pages in site doc. Otherwise we can place it somewhere below https://dev.e-taxonomy.eu/download/ like https://dev.e-taxonomy.eu/download/html or https://dev.e-taxonomy.eu/download/taxeditor/html and configure a redirect or request forwarding to this location.

#12 Updated by Andreas Kohlbecker about 1 year ago

  • Assignee changed from Andreas Kohlbecker to Fabian Reimeier

#13 Updated by Fabian Reimeier 10 months ago

  • % Done changed from 70 to 90

#14 Updated by Fabian Reimeier 9 months ago

  • Target version changed from Release 4.10 to Release 5.0

#15 Updated by Fabian Reimeier 9 months ago

  • Target version changed from Release 5.0 to Release 4.10

#16 Updated by Andreas Kohlbecker 9 months ago

Hallo Fabian,

in meinem Kommentar https://dev.e-taxonomy.eu/redmine/issues/6812#note-11 habe ich an zwei Möglichkeiten gedacht.
Die erste verursacht den geringsten Konfigurationsaufwand.

Nach dem was in der maven-site-plugin dokumentation steht sollte es kein Problem sein die download seite in die maven-site struktur zu integrieren:
https://maven.apache.org/plugins/maven-site-plugin/examples/creating-content.html

Den benötigten xhtml ordner gibt es meines Wissens noch nicht, den müsstest du anlegen.

Was meinst du, würde deine download seite in diesem Kontext funktionieren?

viele Grüße
Andreas

#17 Updated by Andreas Kohlbecker 9 months ago

Hallo!

Also die Seite benötigt PHP, JQuery sowie JSON Dateien für die Locales, nur plain html ist es daher leider nicht.

Im Moment befinden sich unter /var/www/download/src/vendor die PHP-Bibliotheken die mit Composer verwaltet werden. Der Ordner wird vom Webserver in der Indexansicht ignoriert und könnten sich im Prinzip auch irgendwo anders auf dem Server befinden.

Im Stable Ordner der Download Seite gibt es dann:

  • index.php
  • assets/ : /frameworks (bootstrap + fontawesome), /images, /locales, /scripts, /styles

Das müsste alles durch den Webserver erreichbar sein.

Ich muss mir das maven-site Plugin nochmal genauer anschauen. Aber da müsste man wahrscheinlich ein Template schreiben oder? Per Default wird da anscheinend Velocity benutzt.

Viele Grüße,

Fabian

#18 Updated by Andreas Kohlbecker 9 months ago

Also dann doch besser die B-Variante:

In der Apache-Konfigurtion ein internen "Forward" für die Location /taxeditor/download nach /download/taxeditor/stable/ einrichten.

Ich habe in die /etc/apache2/sites-available/siteconf/cybertaxonomy.eu.conf

folgende RedirectRule eingetragen:

RewriteRule /taxeditor/download/ /download/taxeditor/stable/ [P]

aber leider funktioniert diese nicht so wie ich mir das erhofft hatte.
Ich habe absichtlich zunächst /taxeditor/download/ und nicht /taxeditor/download als Basis genommen

Du hast ja Zugriff auf den edit-community.
Mit apachectl configtest kannst du die Konfiguration auf Syntaxprobleme testen wenn du etwas geändert hast (aber das weißt du sicherlich eh schon ;-)

Viele Grüße
Andreas

#19 Updated by Andreas Kohlbecker 9 months ago

Aber dadurch müssten die Dateien immer noch jedes mal in den Ordner der aktuellsten Version verschoben werden oder?
Oder soll der Symlink von stable auf den entsprechenden Versionsordner weg und durch den Ordner mit der Seite ersetzt werden?

Viele Grüße,
Fabian

#20 Updated by Andreas Kohlbecker 9 months ago

Andreas Kohlbecker wrote:

Aber dadurch müssten die Dateien immer noch jedes mal in den Ordner der aktuellsten Version verschoben werden oder?
Oder soll der Symlink von stable auf den entsprechenden Versionsordner weg und durch den Ordner mit der Seite ersetzt werden?

Viele Grüße,
Fabian

Dann muss die DownloadSeite natürlich in einen anderen, d.h. eigenen, separaten Ordner, vielleicht site/ ?
Die aktuelle Versionsnummer bekommst du dann vom Ordner stable/ mit der Methode readlink()

#21 Updated by Andreas Kohlbecker 8 months ago

[a.mueller:]

... Ich wollte nur darauf hinweisen, dass das mit dem automatischen Verschieben noch nicht klappt und dass die Seite, wenn in einer alten Version, nicht mehr funktioniert, da auch viele Links völlig zerschossen sind.

AM

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)