Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

v1.0 discussions #28

Closed
michaelwittig opened this issue Mar 28, 2017 · 12 comments
Closed

v1.0 discussions #28

michaelwittig opened this issue Mar 28, 2017 · 12 comments
Labels
Milestone

Comments

@michaelwittig
Copy link
Contributor

So this project got a bit messy because of me not merging stuff fast enough. I would like to get this project back on track. So let's discuss how we continue @shinenelson, @mvanbaak, and @dylansmith

What we have:

And we also have a big PR #24 which contains basically all of the above functionality.

My suggestions for v1.0:

My suggestion for the future v1.x:

  • implement a the better management of local users
    • uuid
    • local groups
    • shell etc etc
  • improve performance of login procedure

What's your opinion?

@michaelwittig michaelwittig added this to the v1.0 milestone Mar 28, 2017
@dylansmith
Copy link

I'm fine with whatever you all decide - I've moved to using SSH CA instead so I'm not impacted by the decision.

@mvanbaak
Copy link
Contributor

I know my PR is huge. Sorry for that ;-) And I was already expecting it too invasive to be merged as-is, but wanted to be a good citizen and provide it anyways.

The suggestions look good.

If you want I can quickly make a PR for issue #27 alone so it's easier to merge.

The part where the users are deleted if they no longer are member of a group that should access, is something I would personally would like to see in 1.0. I cant remember exactly who's fork I took most of the work from, but I really liked it.

All in all I would say: thanks a lot and good to see you want to take this one further.

@michaelwittig
Copy link
Contributor Author

michaelwittig commented Mar 29, 2017 via email

@mvanbaak
Copy link
Contributor

mvanbaak commented Apr 2, 2017

Another item that could go on the 2.X list:

  • Make a single script which can handle both syncing the users as well as getting the key.

So for example: ssh-iam-check syncusers and ssh-iam-check checksshkey
The main reason for this is that we start to duplicate code in both sh scripts now (iam assumerole, probably later the group permission thing, and possibly others in the future)

Just a thought I had this morning while resolving conflicts on my outstanding PR's ;-)

@shinenelson
Copy link
Contributor

shinenelson commented Apr 3, 2017

IMO, we should merge #24 and close all the other minor pull requests. #24 has implemented all of them in a single pull request and the code looks consistent.

@mvanbaak has done a good job with his code quality. It's very easy to understand what is what and how. And the features are all well modularized too. That's one reason I said that we should merge #24 and not the other minor pull requests which doesn't have any modularization. Going forward, this functional approach would make this project easily extensible. Otherwise, the codebase will just get messed up and cluttered and non-understandable.

I just did a complete code review and everything should work fine as expected. 👌 👍

@mvanbaak
Copy link
Contributor

mvanbaak commented Apr 3, 2017

Thanks for the review and the nice words. As I said the code is taken from some forks and I cleaned up/rewrote the things here and there to make it easier to understand.

As much as I would like to see it merged its up to @michaelwittig to choose.

I do however agree that it will be easier to maintain as things are split up in logical functions

@michaelwittig
Copy link
Contributor Author

michaelwittig commented Apr 4, 2017

Ok, I'm fine with the decision to merge #24. I will work on the following items this week:

  • verify that Documentation is up to date
  • verify that iam_ssh_policy.json is up to date
  • verify that showcase.yaml is up to date
  • verify that install.sh is up to date
  • implement a test that ensures that the available features are working as expected
  • release v1

@mvanbaak
Copy link
Contributor

mvanbaak commented Apr 5, 2017

Cool! Thanks! If I can help with the items let me know :)

@michaelwittig
Copy link
Contributor Author

Could someone review bd9ff5d ?

@mvanbaak
Copy link
Contributor

mvanbaak commented Apr 8, 2017

Cool, you even created a testsuite! Only suggestion from my side is to comment out the sed lines to set the assumerole var in the showcase so it's consistent with the other optional var sed lines. Left a comment in the commit as well.

Good work. thanks a lot!

@michaelwittig
Copy link
Contributor Author

@mvanbaak I commented on your comment:) bd9ff5d#commitcomment-21694850

@michaelwittig
Copy link
Contributor Author

v1.0.0 is released :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants