Porteus Shell Script Repo?

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
Post Reply
apollo
Black ninja
Black ninja
Posts: 72
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de
Contact:

Porteus Shell Script Repo?

Post#1 by apollo » 08 Sep 2018, 06:44

Hi,

there are plenty of usefull (shell) scripts for porteus flying around in the forums, spread over hundreds of threads and postings.
Sometimes a script evolves over multiple iterations through out a discussion, making it difficult to find the right/latest version.

Is there something like a central porteus script repo, where one could easily find usefull scripts and - if required - can contribute to them?

If not, is anyone interested in something like this?
We may need to talk about the "licencing" of a script, so anyone who contributes should agree that their contribution is published under a specific licence.

kind regards
apollo
My Porteus Module Repo: https://porteus.rw-net.de

User avatar
brokenman
Site Admin
Site Admin
Posts: 5957
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Porteus Shell Script Repo?

Post#2 by brokenman » 08 Sep 2018, 10:12

I am definitely behind this initiative. Let's do it.
How do i become super user?
Wear your underpants on the outside and put on a cape.

apollo
Black ninja
Black ninja
Posts: 72
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de
Contact:

Porteus Shell Script Repo?

Post#3 by apollo » 08 Sep 2018, 12:27

Any preferences on where to host this repo?
I would actually prefer a source hoster like GitLab, having a versioning system behind may be usefull. ;)
My Porteus Module Repo: https://porteus.rw-net.de

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1553
Joined: 20 Mar 2012, 03:42
Distribution: 4.0-64bit all-DE+more
Location: australia
Contact:

Porteus Shell Script Repo?

Post#4 by ncmprhnsbl » 09 Sep 2018, 00:28

apollo wrote:
08 Sep 2018, 12:27
I would actually prefer a source hoster like GitLab, having a versioning system behind may be usefull
+1
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 4192
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Shell Script Repo?

Post#5 by Ed_P » 09 Sep 2018, 05:11

apollo wrote:
08 Sep 2018, 12:27
Any preferences on where to host this repo?
What's wrong with a Porteus site like: http://dl.porteus.org/x86_64/Porteus-v4.0/
Ed

apollo
Black ninja
Black ninja
Posts: 72
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de
Contact:

Porteus Shell Script Repo?

Post#6 by apollo » 09 Sep 2018, 11:39

Nothing wrong, but i thought of the repo in a more colaborative way. Not having a single person (or maybe 2) doing all the work of keeping the repo up to date. Everyone who likes to should be able to contribute his own scripts or send improvements of existing scripts.
My Porteus Module Repo: https://porteus.rw-net.de

User avatar
Ed_P
Contributor
Contributor
Posts: 4192
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Porteus Shell Script Repo?

Post#7 by Ed_P » 09 Sep 2018, 17:45

But without some control scripts will be scattered, maybe poorly named. A posting in the forum will be needed to connect users to the scripts. Actually a posting pointing users to scripts creators upload to wherever is convenient for them is all that is needed. It doesn't have to be gitlab. And if the scripts aren't very long they could just be posted in the forum.

Or maybe I'm missing something. :Search:
Ed

apollo
Black ninja
Black ninja
Posts: 72
Joined: 28 Oct 2017, 13:40
Distribution: 4.0 XFCE, Manjaro
Location: .bay.de
Contact:

Porteus Shell Script Repo?

Post#8 by apollo » 09 Sep 2018, 18:07

Sure it doesn´t have to be gitlab, it was just a thing i´m familiar with. ;)

I agree that there has to be something like a "supervisor", looking for script naming, maybe comments and where should it be placed. My "vision" is, that the community is the "control", not a single person. Single persons from time to time tend to have other priorities then to keep a repo clean. This is the point where a colaborative platform could come in handy.

As of now, scripts are everywhere in the forums, sometimes (quite often in my feeling) a really usefull script is burried in a 5 pages long discussion in a thread thats named anything, but not what you might expect.

A specific sub categorie in the forum like we do with the modules/modules requests might be sufficient way. My experience here in the forums is, that frequently required scripts get feedback/discussion, which may lead to changes being made - from my point of view another pro for a colaborative platform like gitlab (or any other).
Keep the discussion away from the code itself or we end up in browsing multiple pages of a thread to find the latest script version.

Long story short:
My feeling is, that a colaborative platform focused on code is a better way then the - on first glance - simple solutions.
My Porteus Module Repo: https://porteus.rw-net.de

User avatar
n0ctilucient
Shogun
Shogun
Posts: 435
Joined: 21 Apr 2017, 15:59
Distribution: fullmoonremix
Location: 127.0.0.1
Contact:

Porteus Shell Script Repo?

Post#9 by n0ctilucient » 09 Sep 2018, 21:15

My "vision" is, that the community is the "control", not a single person.
I concur... because Linux is the "bazaar" (we are not BSD).
see... The Cathedral and the Bazaar
also... http://www.catb.org/~esr/writings/cathe ... al-bazaar/

In my personal view... the community is NOT "simply" the
core dev "team". It's also the other 2600+ members.

Gitlab would be a great way to support "mob" branch driveby contribution.
Last edited by n0ctilucient on 10 Sep 2018, 12:49, edited 2 times in total.
:hmmm: I do NOT have the "right" to tell anyone what they should do...
but I reserve the "right" to tell them what they should "consider".

User avatar
brokenman
Site Admin
Site Admin
Posts: 5957
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Porteus Shell Script Repo?

Post#10 by brokenman » 09 Sep 2018, 22:09

My "vision" is, that the community is the "control", not a single person.
I've been doing this for quite a few years now. I have experience with this and also I run three other companies in the real world. I can tell you that we have already tried this model. It simply doesn't work. Without an overseer things get messy, people come and go and things generally break down. It may take years, but it is inevitable. I'm all for creating a script repo wherein everybody contributes, but there needs to be a gatekeeper. Human nature and all that.

I've also tried the complicated versioning systems and I can say that for a simple script repository they don't work. Without someone maintaining the database it will fall apart. Consider this:

I am looking for a script that tells me the temperature of my processors. I go to the script repository which contains 400 scripts. How do I find what I need and more importantly how can I know exactly what it does before I run it on my system without going through the code?
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply