-
Notifications
You must be signed in to change notification settings - Fork 142
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
what Contents#iterate() is doing? #863
Comments
I think this method was originally intended to list content of a directory. For example, see https://api.github.com/repos/jcabi/jcabi-github/contents/src This request returns a list of files in a directory, and should be treated differently (since it's not a JSON object, but an array). In that case, it makes sense. Let's leave the method in the interface, but document it properly and make sure it works. Now it doesn't work. |
I'll find a developer for the task soon... |
thank you for the ticket reported, I topped your account for 15 mins, transaction |
@aistomin this is your task now, please help |
@aistomin just a reminder that you're working with this task for 12 days already |
@aistomin this task is taking too long, I have to change the performer, sorry. Please stop working with it right now. See our no obligations principle |
@svarovski this task is for you, keep these principles in mind, and don't hesitate to ask any technical questions |
@svarovski 30 mins is the budget of the task. This is exactly how much will be paid when the problem is solved (no matter how much time you will actually spend). See this for more information |
@svarovski you're working with this ticket for the last 11 days. If it's not closed within the next 48 hours, it will be re-assigned to someone else, see No Obligations principle |
@svarovski it takes too long. Usually, we expect any task to be finished in less than a week. I'll assign someone else. Please stop working with it right now. See our no obligations principle |
@lthuangiang this task is yours, please help (see our key principles of work). If you have any technical questions, don't hesitate to ask right here |
@lthuangiang The budget of this issue is 30 mins, which is exactly how much will be paid when the task is done (see this for explanation) |
@yegor256 I have a concern on this task. Base on API, https://developer.github.com/v3/repos/contents/#response-if-content-is-a-directory, response can be list of files in directory, or list of directories, or both directories and files. Here is example
So should we only return contents if they is file types? or we will loop all sub directories to find contents? |
We shouldn't loop into directories, but just return a list of files/directories returned. Or I didn't understand your question |
as far as my understand, |
@yegor256 @lthuangiang Looks like the issue is closely related to this one #903. Any news here? |
@lthuangiang the task is overdue, and I have to re-assign it to someone else. Please, stop working with it immediately. In general, we're against overdue tasks, check this page |
@darkled this task is yours, please help (see our key principles of work). If you have any technical questions, don't hesitate to ask right here 30 mins is the budget of the task. This is exactly how much will be paid when the problem is solved (no matter how much time you will actually spend). See this for more information |
@darkled you're holding this task for 12 days already... -30 added to your rating, current score is: +60 |
@dmarkov please, assign this task to someone else |
@darkled I will assign somebody else to this issue |
@darkled you've been working with this task for too long. I'm sorry, but I'll assign someone else. Please stop working with it. See our no obligations principle; -60 added to your rating, current score is: -90 |
@maurezen it's your task, go ahead |
@yegor256 any comments? |
@maurezen I think we should create an integration test for |
@maurezen thanks! |
once |
@yegor256 @dmarkov I'm confused as to what's the policy in this case. I believe in jcabi/jcabi-manifests#16 the ticket was considered complete once closed, despite the puzzle introduced. What way should it be? |
@maurezen this task is done, the puzzle will be fixed in another task, later |
I don't understand what
Contents#iterate()
is doing? This functionality is not provided by Github and we don't have an integration test for the method. I think it's obsolete and should be deleted.The text was updated successfully, but these errors were encountered: