Open purpleidea opened 7 years ago
Acknowledged. Will work this ticket.
@mrcrilly thanks movedx
!
@mrcrilly Any progress on this? Thanks
Hi. Not at this point in time.
I'm writing a whole code base around a product I'm developing, blogging, vastly improving my own copy of the Open AWS Guide, and working... sadly I may not get to this, but I'll try in the week.
If this is not solved yet, I'd like to work on this one.
@nitinprakash96 Please grab it :)
Is someone still working on this issue?
@ahmedsharif865 I don't think so. Grab it if you want.
Hi!
I can see some code in the graphsync_test.go package. Is this PR still open?
If so, I've seen that the GraphSync signatura has change a little. Are you still looking for the function signatura to be like this?
func (g *Graph) GraphSync(oldGraph *Graph, stop func(v *Vertex)) (*Graph, error)
I would love to contribute to this!
@EloyTolosaDev
Hey, I'm really sorry I somehow missed your message. Yes issue is still open if you'd like to send a patch.
Thanks!
This is a project for a first time mgmt contributor. It should be fairly straightforward, but not too easy.
We have a GraphSync function in mgmt:
https://github.com/purpleidea/mgmt/blob/master/pgraph/pgraph.go#L557 (might move around a bit due to git master changes of course)
We should add some proper golang tests for this in pgraph_test.go
To test it, it might be helpful to have the Exit functions:
Be no-op's.
As a result, we could change the function signature to:
This way we could pass in this lambda when calling it from main:
and a noop function when calling it from testing.
The GraphDiff code already present in the pgraph_test.go might help speed this up significantly!
Any questions, just ask! Happy hacking new mgmt hacker!