-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Humanize bytes in dir index listing #1618
Conversation
LGTM |
(guessing vendor first, then merge) |
looking forward to meeting the first humanoid bytes |
Fixes ipfs/dir-index-html#3 License: MIT Signed-off-by: rht <[email protected]>
3716358
to
4b3a21e
Compare
Here is the chronology
|
wonder how we want to be using gx. cc @whyrusleeping for feedback. i.e. that seemed like a lot of work. how can we make this a simpler process? |
@rht could we turn this into a quick script or something?
in that directory or something. |
The only update() {
hash="$1"
cd assets
ln -sf ../vendor/src/$hash/dir-index-html/gw-assets gw-assets # will be removed after https://github.com/ipfs/go-ipfs/pull/1615
go-bindata -pkg=assets init-doc gw-assets ../vendor/src/$hash/dir-index-html
cd -
} The rest should be a git hook like |
@rht sure, can you add that to a script/makefile there? |
Ok |
Humanize bytes in dir index listing
Fixes ipfs/dir-index-html#3