Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
26 Sep 2020
No bulk downloads - PLEASE! THIS IS OVERLOADING OUR SERVER AND DENYING ACCESS TO COMMUNITY USERS
SVP - Pas de téléchargement en masse ! Cela surcharge le serveur et empêche la communauté d'utilisateurs d'accéder aux données
_______________________________
WE WILL BLOCK IP'S THAT ARE BULK DOWNLOADING! Nous bloquerons les IPs des personnes qui agissent de la sorte.
PLEASE GO DIRECTLY TO THE GRIB PRODUCERS (NOAA, DWD...) FOR BULK DOWNLOADS. Allez chercher les données directement à la source (NOAA, DWD ...)
Lire la suite ...
  • Page :
  • 1
  • 2

SUJET :

Distro or self install il y a 5 ans 11 mois #319

  • DomH
  • Portrait de DomH
  • Hors Ligne
  • Modérateur
  • Modérateur
  • La voile est ma passion
  • Messages : 110
  • Remerciements reçus 26

dominig écrit: It's obvious that your initial focus is on Windows, most of my issues are generic to Linux.
Dominig


That is unfortunatly not true, zyGrib was primarily created to have a tool working under Linux.
A couple of persons were packaging it for different versions of Linux.

As mentionned by David, it is difficult to follow all the different packages and sometimes there is quite a long delay between a new version and the integration in a specific package; but of course all contributions are welcome, but also as mentionned, the XyGrib is quite small and cannot assume the responsability of the different packages for the various distros.

But the majority of users are still using OS Windows and that also a reality.
Bonne journée ou bonne soirée (vous pouvez choisir)
Have a nice day or good night (you can choose)
Guten Morgen oder gute Nacht (Sie können wählen)

DomH

Connexion pour participer à la conversation.

OpenSUSE blocking issues corrected il y a 5 ans 11 mois #321

Hi dominig,

Unfortunately the Travis build check failed on your suggested Pull Request with the following error:
error: ‘AppLocalDataLocation’ is not a member of ‘QStandardPaths


We have already tried what you are suggesting here and rejected it as many of the older distros do not support all the current Qt standard locations.

I strongly advise that your effort for an openSuse package keep the same data locations that are used for all XyGrib on all Linux distros.
There is no reason that the data structure on openSuse should not be under ~/.local/share/openGribs/XyGrib.
This is a writable location and it gives the user an advantage should he or she need to edit color code files or language files

David

Connexion pour participer à la conversation.

Dernière édition: par davidgal.

QStandardPaths::AppLocalDataLocation il y a 5 ans 11 mois #322

Extract from QT Doc
QStandardPaths::AppDataLocation it replaces QStandardPaths::DataLocation which is deprecated.
QStandardPaths::AppLocalDataLocation was added with QT 5.4
Returns a directory location where persistent application data can be stored. This is an application-specific directory. To obtain a path to store data to be shared with other applications, use QStandardPaths::GenericDataLocation. The returned path is never empty. On the Windows operating system, this returns the roaming path. This enum value was added in Qt 5.4. Qt 5.4.0 was released on 10th of Dec 2014.
doc.qt.io/qt-5/qstandardpaths.html
Which version of QT do you use. We are currently at 5.12.

Regards
Dominig

Connexion pour participer à la conversation.

Dernière édition: par dominig.

Directory localisation il y a 5 ans 11 mois #323

Sorry
Software should never be installed in a user writeable directory.
It's the main source of security nightmares that we see on WIndows.
~/.local/share/openGribs/XyGrib is writeable by the user.

Tradition is that Linux Distros install their software in /usr in share lib and bin.
User developing locally on their PC do install in /usr/local.
Both requires root privilege for being written what guaranties that the code cannot be modified by a misbehaving web page JavaScript or a document macro.

Furthermore it requires to make one install per user.

Sorry, I do not wan that.

Dominig
P.S. I work in Linux Cyber Security, sorry, I cannot do that.

Connexion pour participer à la conversation.

Directory localisation il y a 5 ans 11 mois #324

If you would take a moment to look at an XyGrib installation on Linux you will clearly see that it is not the software that is installed in ~/.local but the static data files that are also user specific. The software itself is under /usr/.

Please download a Linux installer from the git and run it on openSuse and see that it clearly follows best Linux practices and traditions. If you have issues with what the installer does and where it places files - please let us know.

If you don't - please try and make your package do the same thing

Connexion pour participer à la conversation.

  • Page :
  • 1
  • 2
Temps de génération de la page : 0.067 secondes

Le téléchargement des fichiers mis à disposition sur le serveur openGribs via XyGrib et l'application elle-même resteront toujours libres et gratuits. Cependant, les coûts de fonctionnement des 3 serveurs en cloud sont significatifs, en particulier ceux liés à la bande passante.

Chaque contribution, même modeste, est très utile à garantir le bon fonctionnement du site et des serveurs. Si vous considérez XyGrib et les fichiers téléchargés utiles, merci de soutenir openGribs et XyGrib.

 

Merci de votre soutien

Aller au haut