xoops forums

Mamba

Moderator
Posted on: 2015/6/3 12:05
Mamba
Mamba (Show more)
Moderator
Posts: 10838
Since: 2004/4/23
#11

Re: Alumni version 3.1 ALPHA for Xoops 2.6.0 ALPHA from GitHub

Great to hear it, John.

Are you going to add it to GitHub, so others can fork it and contribute?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 2015/6/3 22:59
Mamba
Mamba (Show more)
Moderator
Posts: 10838
Since: 2004/4/23
#12

Re: Alumni version 3.1 ALPHA for Xoops 2.6.0 ALPHA from GitHub

I've added the module to our XOOPS 2.6.0+ Modules repository, so people can fork it from there.

Once you have an account on GitHub, please let us know how you would like to handle it:

a) you fork it from the above repository and submit your code changes back there

b) your repository will become the "upstream" repository, and we'll fork it from there

Since you're the module author, it's up to you!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

jlm69

Module Developer
Posted on: 2015/6/4 15:45
jlm69
jlm69 (Show more)
Module Developer
Posts: 719
Since: 2002/7/19
#13

Re: Alumni version 3.1 ALPHA for Xoops 2.6.0 ALPHA from GitHub

I will keep my modules on my server, I did not want to have to open a github account, but it seems You have to, to install Xoops Now. Which I think is very wrong.

But anyway i will keep it on my site, if anyone wants they can send me changes they want to make and I will maybe add them if I like it.

Since when did the meaning of the word fork change? To me fork will ALWAYS mean taking the software and creating your own thing out of it. Like ICMS is a fork of Xoops. Who ever changed the meaning of that word was wrong to do so.

Anyway I have updated my Alumni module today because there was no link to add categories in the admin section. I will upload the changes as soon as I post this.

@ Mamba
I will pm you in a little while I have a question for you.

Thanks,
John

Mamba

Moderator
Posted on: 2015/6/5 6:36
Mamba
Mamba (Show more)
Moderator
Posts: 10838
Since: 2004/4/23
#14

Re: Alumni version 3.1 ALPHA for Xoops 2.6.0 ALPHA from GitHub

John, few points about GitHub and XOOPS using it:

Quote:
I will keep my modules on my server, I did not want to have to open a github account, but it seems You have to, to install Xoops Now. Which I think is very wrong.

you don't have to have account on GitHub to download XOOPS or any of the modules from there.
For example, you can go right now to our XOOPS link:
https://github.com/XOOPS/XoopsCore
and click on the "Download Zip" and download it.

Quote:
Since when did the meaning of the word fork change? To me fork will ALWAYS mean taking the software and creating your own thing out of it. Like ICMS is a fork of Xoops. Who ever changed the meaning of that word was wrong to do so.

There are forks and there are forks!

a) "split forks" that just go separate ways never to merge

b) "version control forks" that are done to add a feature or fix a bug, and once tested, they are submitted to be merged back into the "trunk". This helps to keep the "trunk" clean and working, while allowing many people to collaborate on the development without stepping on each other toes. It is a tremendous help in team development and that's why we've seen such an explosion in people using Git in general, and GitHub in particular.

I can only encourage you to open an account and start using it by creating a repository for Alumni, to which we all can then contribute. Once you start using it, you'll wonder how you could ever live without it!

For example, in case of Alumni, this the original code from you on GitHub. This is the fork on GitHub I did. There I can make changes and I can submit them to you for merging via a "Pull Request".

If you click on the "10 commits" on top, GitHub will show you the changes that I've made.

Then you can see the individual changes, and you can click on them, and you can see exactly what has changed, for example here.

And if this was a part of a "Pull request", you could just review these changes and accept them, and you're done. As the "owner" of the repository, you'll be able to decide what will be accepted and what will be rejected. So there is no risk in getting "polluted" with code of questionable quality.

Let's face it - for collaborative development as XOOPS is, there is nothing better at the moment.

Of course, for people who like to develop by themselves, this won't be of interest.

As a side benefit, there are TONS of tools that are linked to GitHub that make development so much easier, and improve quality as well as team work.

For example, for quality, I can run the code through a static code analyzer and see the results and if they make sense, make the changes to the code. You can see result for Alumni here:

SenisoLabsInsight

CodeClimate

Codacy

Scrutinizer

All of these tools take the code from GitHub.

I can only encourage you to give it a try, and I promise you - once you do, you'll never look back!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

xoobaru

Just can't stay away
Posted on: 2015/6/5 13:55
xoobaru
xoobaru (Show more)
Just can't stay away
Posts: 494
Since: 2010/12/2
#15

Re: Alumni version 3.1 ALPHA for Xoops 2.6.0 ALPHA from GitHub

If you want to appreciate how big it really is, take a look here.