Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

WIP: ls #940

Closed
wants to merge 2 commits into from
Closed

WIP: ls #940

wants to merge 2 commits into from

Conversation

rasmuserik
Copy link
Contributor

@rasmuserik rasmuserik commented Aug 2, 2017

Implementation of js-ipfs ls (#927)

Tasks:

This implements a basic working version of js-ipfs ls, supporting listing of directories, with similar output as go-ipfs ls.

Notice: the progress will be slow, as I only have a few hours per week for this kind of projects.

@rasmuserik rasmuserik changed the title WIP: ls ls Aug 12, 2017
@rasmuserik rasmuserik changed the title ls WIP: ls Aug 12, 2017
@rasmuserik rasmuserik changed the title WIP: ls ls Aug 12, 2017
Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

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

Hi @rasmuserik, great head start :)

I see that you implemented this feature only in cli and not in core + http-api. We want to have it implemented in core and then have http-api and cli consuming that core api (see other files commands)

Also, now that ls is becoming a thing, we want:

Sounds like something you want to tackle too? Thank you!

@@ -0,0 +1,60 @@
'use strict'

const {print, rightpad} = require('../utils')
Copy link
Member

Choose a reason for hiding this comment

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

We are not using destructuring just yet. Could you change it?

Why? We review the JS best practices every quarter or so and commit to a set of things, this helps us agree on codestyle and move forward faster :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that is changed now. Is there a place where the agreed code style is documented?
(The destructuring is not mentioned js-project-guidelines.md, nor in the standard code style)

License: MIT
Signed-off-by: Rasmus Erik Voel Jensen <github-rasmuserik@solsort.dk>
@rasmuserik rasmuserik changed the title ls WIP: ls Aug 23, 2017
@rasmuserik
Copy link
Contributor Author

I've added the tasks you mentioned to the list, and will look into it, when I have some time.

@daviddias
Copy link
Member

Hi @rasmuserik how are things going? Any hopes of getting ls to see the light of day? Can we help?

@rasmuserik
Copy link
Contributor Author

Hi @diasdavid, I am busy with other projects at the moment, so unfortunately I do not have time to look into it for the time being (and no recent progress) ‐ it is on my backlog, but very very far down :(
It is also fine with me if somebody else takes over this issue (either build on the code I made here, or discard it and build it from scratch).

@daviddias daviddias added the status/in-progress In progress label Sep 13, 2017
@rasmuserik
Copy link
Contributor Author

Closing this pull-request, as I am too busy with other projects.

@rasmuserik rasmuserik closed this Sep 29, 2017
@daviddias daviddias reopened this Oct 12, 2017
@daviddias
Copy link
Member

Let's keep it open and just signal that is open for contributions :)

@daviddias daviddias added status/ready Ready to be worked P0 Critical: Tackled by core team ASAP and removed status/in-progress In progress status/ready Ready to be worked labels Oct 17, 2017
@pgte pgte self-assigned this Nov 8, 2017
@daviddias daviddias added status/in-progress In progress and removed status/ready Ready to be worked labels Nov 8, 2017
@pgte pgte mentioned this pull request Nov 12, 2017
5 tasks
@pgte
Copy link
Contributor

pgte commented Nov 12, 2017

Being continued in #1073

@pgte pgte closed this Nov 12, 2017
@ghost ghost removed the status/in-progress In progress label Nov 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P0 Critical: Tackled by core team ASAP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants