Autore Topic: Gambas Software Farm con la revisione 6666 / 6667  (Letto 1182 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.311
  • Ne mors quidem nos iunget
    • Mostra profilo
Gambas Software Farm con la revisione 6666 / 6667
« il: 23 Novembre 2014, 18:49:55 »
Vi riporto questa comunicazione di Minisini:


" Hi,

It's late there, but I wanted to make that available as soon as possible
so that people can see it and comment, even if it is not finished at
all. (It's for the revision number too...)

I added a new button in the IDE welcome dialog that opens the "Gambas
Software Farm" dialog.

At the moment, it allows to browse the content of a Gambas farm. By
default, it should points at 'http://gambaswiki.org' for testing.

Voting for a software and installing a software is not done yet.

I have registered the 'gambasfarm.org' website, so that it become the
official Gambas Software Repository in the future.

At the moment, registering to a farm is possible from the IDE option
dialog only. And publishing is done from the 'Publish...' menu entry.


The Gambas farm server will only store full source archive of free
software project.

When installing a project, the source archive will be downloaded, and
compiled directly on the user's computer.

As for the malware problem, I think it may be possible to analyze the
source and display warnings to the user:

- This project uses extern functions to the X,Y and Z libraries.
- This project call extern programs with SHELL or EXEC.
- This project open files for writing.
- ...

We could imagine a slower version of the interpreter that do run time
tests for preventing the interpreter for doing what the user does not want.

Of course, it cannot block all possible malware, but it could avoid most
of them.



Waiting for the comments now...

--
Benoît Minisini
"


" The recent news about Gambas Software Farm:

- Many bug fixes.

- The farm configuration (server list, identities) has been removed from
the IDE option dialog, and is now in its own dialog. That way, the code
of the software farm is independent, and will be put in its own
executable (gambas3-farm) in the future.

- Voting is now possible by clicking on the star button, as soon as you
are identified on the server. Each user can assing zero or one vote for
each software. The number displayed beside the star is the total number
of votes

- Installing is not done.

As for installing software, here are my thoughts:

- The farm server will extract the ".project" file for the submitted
software to know about its component dependencies (not done).

- When installing, the farm client will download the ".project" file to
check these dependencies. If they do not match, an error message will be
displayed, and the installation will abort.

- In the future, the error message could be replaced by an automatic
installation of binary packages depending on the distribution. I need
help for that: for each distribution, I need to know how to install a
binary package, and if the distribution follows the gambas binary
package naming convention.

- If there are dependencies of other softwares, then a recursive search
of all the dependencies is done, and the corresponding software must be
installed first.

- The source package is downloaded, and stored in something like
'~/.local/gambas3/farm/<farm server>/'.

- The software is compiled on the user's computer, and the executable is
installed in '~/.local/gambas3/bin/'.

- A *.desktop file is created and installed in
'~/.local/share/applications' so that it appears in the desktop menu.

Waiting for your comments!

--
Benoît Minisini
"
« Ultima modifica: 24 Novembre 2014, 17:57:51 da vuott »
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »