Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove randbo dep, its no longer needed #3118

Merged
merged 1 commit into from
Aug 26, 2016
Merged

Conversation

whyrusleeping
Copy link
Member

I want to continue doing things like this as we find deps are no longer needed. A smaller dependency tree is a happier one

License: MIT
Signed-off-by: Jeromy why@ipfs.io

@whyrusleeping whyrusleeping added the status/in-progress In progress label Aug 24, 2016
@whyrusleeping
Copy link
Member Author

Tests failing because CI uses go1.5, the rand reader stuff landed in 1.6

@whyrusleeping whyrusleeping added the status/blocked Unable to be worked further until needs are met label Aug 24, 2016
@@ -552,7 +551,8 @@ func actorMakeFile(d *Directory) error {
return err
}

r := io.LimitReader(randbo.New(), int64(77*rand.Intn(123)))
rread := rand.New(rand.NewSource(time.Now().UnixNano()))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have NewTimeSeededRand in go-ipfs-util.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we already import from there, then sure, lets use it. Otherwise i'd like to avoid another import of that package. I want it to die.

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
@whyrusleeping whyrusleeping merged commit 28b01dd into master Aug 26, 2016
@whyrusleeping whyrusleeping deleted the deps/rm-randbo branch August 26, 2016 21:23
@whyrusleeping whyrusleeping removed status/blocked Unable to be worked further until needs are met status/in-progress In progress labels Aug 26, 2016
@ghost ghost mentioned this pull request Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants