Gatling Arch Linux package

Hi all,

I have packaged Gatling for Arch Linux:

Here is a feedback for the developers on the assembly structure that would allow a package working out of the box: by default, gatling outputs results to GATLING_HOME/results, which is not packaging friendly, because it forces the user to manually setup write permissions on a system directory (/opt/gatling/results in this case). It would be better/more standard if Gatling wrote results in the current working directory or in the user home by default.

Regards,
Julien

Hi Julien!

Thanks for this packaging and your feedback about it.

I’ve entered an issue as of the default results folder here : https://github.com/excilys/gatling/issues/329

It seems that the problem is the same for user-files and its subfolders as they should also be writeable so that the users could add their own files in it.

As of now, I can’t think about a good solution for it. The folder in the user home seems to be the only way to do that, but I’m not sure it is the best option regarding usability.

How do you use Gatling once installed? Is it in the PATH?

Regards,
Romain (BluePyth)

Hi,

2012/1/5 Romain Sertelon <bluepyth@gmail.com>

Hi Julien!

Thanks for this packaging and your feedback about it.

Welcome, thanks for the great software :wink:

I’ve entered an issue as of the default results folder here : https://github.com/excilys/gatling/issues/329

It seems that the problem is the same for user-files and its subfolders as they should also be writeable so that the users could add their own files in it.

Yes, but the package provides content for this folder, so there is no choice, we must deploy it somewhere, and the user has to deal with it by hand.

As of now, I can’t think about a good solution for it. The folder in the user home seems to be the only way to do that, but I’m not sure it is the best option regarding usability.

Yes, it’s quite annoying from the user point of view. I think the current working directory is the most natural solution. Actually, it’s the same regarding “user-files”, the program should just look into the current working directory and provide options to let the user tweak it to its needs (–user-files-dir or similar). The provided “user-files” directory is actually more a “sample-user-files”.

How do you use Gatling once installed? Is it in the PATH?

Yes, the assembly in deployed in /opt and the executable symlinked in /usr/bin.

Hi Julien,

I was wondering if the use of Gatling.sh options could solve our problem.

Indeed, with them, we are able to select which folder contains what. You could then create the necessary folders in the user’s home and modify the gatling.sh file to use the options.

They are documented here : https://github.com/excilys/gatling/wiki/Advanced-Usage#wiki-cli-options

What do you think about it?

Regards,