Laminas-Commons / LmcRbac

This repository is being abandoned. Please see LM-Commons/LmcRbac
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Merge with the efforts on ZF-Commons / zfc-rbac #11

Closed FrankHouweling closed 4 years ago

FrankHouweling commented 4 years ago

We are currently having an option discussion on the future of zfc-rbac on the relevant github project issues page, and I would very much appreciate your opionion on the matter. Some individuals, myself included, would very much prefer to merge the two projects together and move towards a shared goal.

The relevant issue: https://github.com/ZF-Commons/zfc-rbac/pull/392

basz commented 4 years ago

In that discussion, we sort of agreed on the following https://github.com/ZF-Commons/zfc-rbac/pull/392#issuecomment-650177476

This organization would need two repositories instead of one to hold the original zfc-rbac and it v3 continuation.

Of course we would also need commit access... Thanks!

visto9259 commented 4 years ago

When I looked at the different branches, I also though that maybe it would be good idea to separate the Rbac component from the MVC components (guards, strategies, etc.).

I am touching base with @matwright on getting more people on board. I do not think this is an issue as we did not intend to "own" Laminas-Commons.

visto9259 commented 4 years ago

Laminas-Commons/LmcRbacMvc has been created to hold the former ZfcRbac v2.x package. This repository will hold the former ZfcRbac v3.

svycka commented 4 years ago

maybe someone could write what changed what migrated how names or repositories changed... hard to track everything in all the issues may be merged v3 branch into master if this is 3.0 version? and release 3.0 I think it is pretty stable just documentation is missing

visto9259 commented 4 years ago

The efforit to bring a migration to Laminas of the former ZfcRbac v3 towards Laminas has not been done yet . So yes, it is confusing at this time since the master branch still holds the equivalent of ZfcRbac v2.

So what needs to happen, is to bring a Laminas migration of ZfcRbac v3 into this repo, remove any v2 branches and tags (or keep them for history?) and have the master branch point to ZfcRbac v3.

I lack the bandwith to do this right now. If there are volunteers, I can add them as members of this repo's dev team.

basz commented 4 years ago

I can have a go at it. Work is mostly done in a PR somewhere...

visto9259 commented 4 years ago

@basz, added you to the @Laminas-Commons/lmcrbac-dev team Let me know that you got the invitation.

basz commented 4 years ago

Yep, got it. Thank you... Stupid question maybe - but just to be clear - this repo should become https://github.com/ZF-Commons/zfc-rbac/tree/develop... correct?

Cause then I would expect that branch to be present in this repo under https://github.com/Laminas-Commons/zfc-rbac/tree/develop or https://github.com/Laminas-Commons/zfc-rbac/tree/laminas-3.x but those seem variations on https://github.com/Laminas-Commons/zfc-rbac/tree/master... version 2.

svycka commented 4 years ago

I think it's too much confusion with versions maybe just remove all tags and make it version 1.0? as this is an almost complete rewrite and we had a 3.0 beta version and now we have 2.0 version which will be 3.0 after laminas migration? so beta or alpha version can't remember becomes 4.0 from 3.0? sorry to many versions... so maybe version 1.0 would be best no?

basz commented 4 years ago

Once we decided on a path, first thing I'll do is update the README as it is unclear indeed atm...

visto9259 commented 4 years ago

@basz, It looks like I may have dropped the original develop branch of ZfcRbac 3. My focus was on porting ZfcRbac v2 until it was decided that this repo was to become the Laminas port of ZfcRbac 3. I left the work as it was at that point.

It may be best to restart this repo from a fresh import of ZfcRbac.

basz commented 4 years ago

I though so. That's fine.

Think I need to do the following;

sound ok?

visto9259 commented 4 years ago

Done.

visto9259 commented 4 years ago

Updated.

Once the migration work is done and LmacRbac/master is released, we can probably delete the other branches. I just don't like to delete stuff until nobody needs any history.

svycka commented 4 years ago

LmacRbac/develop was renamed to LmacRbac/develop_2.x

I think this is not quite right LmacRbac/develop is 3.x and 2.x does not have develop branch and anyway, you renamed develop to master in the end :D

visto9259 commented 4 years ago

LmacRbac/develop was renamed to LmacRbac/develop_2.x

I think this is not quite right LmacRbac/develop is 3.x and 2.x does not have develop branch and anyway, you renamed develop to master in the end :D

I was trying to explain the steps I took to move from the original LmcRbac repo structure (which was setup more as a repo for ZfcRbac v2) to the current structure. I did it so that, if anybody was already looking at the repo at that time, they would know what happened to it.

basz commented 4 years ago

hi! 1.0.0 has been released