Skip to content

Conversation

TG1999
Copy link
Contributor

@TG1999 TG1999 commented May 7, 2019

I have used README.rst for making the doc. Solves #1287. Please review

@Abhishek-Dev09-zz
Copy link

Thanks, in this way you have to search issue and solve.

@TG1999
Copy link
Contributor Author

TG1999 commented May 7, 2019

Screenshot 2019-05-08 at 12 56 33 AM
Here is a screenshot for the same

@TG1999
Copy link
Contributor Author

TG1999 commented May 7, 2019

Thanks, @Abhishek-Dev09 for guiding

@codecov
Copy link

codecov bot commented May 7, 2019

Codecov Report

Merging #1550 into develop will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #1550      +/-   ##
==========================================
+ Coverage    84.32%   84.4%   +0.07%     
==========================================
  Files          124     124              
  Lines        14594   14594              
==========================================
+ Hits         12307   12318      +11     
+ Misses        2287    2276      -11
Impacted Files Coverage Δ
src/scancode/api.py 93.7% <0%> (-1.4%) ⬇️
src/scancode/cli.py 76.43% <0%> (+0.44%) ⬆️
src/typecode/pygments_lexers.py 52.9% <0%> (+0.64%) ⬆️
src/commoncode/fileutils.py 82.35% <0%> (+1.3%) ⬆️
src/scancode/interrupt.py 51.31% <0%> (+6.57%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40e7192...de6a337. Read the comment docs.

@TG1999
Copy link
Contributor Author

TG1999 commented May 8, 2019

Hi @Abhishek-Dev09 @pombredanne can you suggest me how to resolve this. I have not changed these files in my commit so I don't know how it affected the code coverage .

@TG1999
Copy link
Contributor Author

TG1999 commented May 8, 2019

Now the code has passed all the checks, please review the changes
CC @pombredanne @Abhishek-Dev09

@pombredanne
Copy link
Member

Thank you ++
Let me review this

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Thank you! See my comments inline. Also read this https://github.com/nexB/aboutcode/wiki/Writing-good-commit-messages


# FIXME: for sanity this should always be included?????
if include_text:
matched_text = match.matched_text(whole_lines=False)
Copy link
Member

Choose a reason for hiding this comment

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

Can you remove this?

  1. this is not about the documentation ticket Create basic documentation structure and tooling to build and publish #1287
  2. even if you were to submit it separately this would not be accepted because the matched license text is something that is collected once for a match and not once for each license key in the match license expression, so your fix would make things go much much slower by recollecting the matched_text several times in the cases where there is more than one license in a detected rule

Copy link
Member

Choose a reason for hiding this comment

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

Can you remove that? Thanks!

docs/intro.rst Outdated
@@ -0,0 +1,194 @@
================
Copy link
Member

Choose a reason for hiding this comment

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

I like this but there is a problem that it creates: we now have duplicated content in this intro and in the README.rst. that's likely a source of divergence and rework. What could you do instead to avoid this?

docs/conf.py Outdated

# -- Project information -----------------------------------------------------

project = 'AbutCode'
Copy link
Member

Choose a reason for hiding this comment

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

Here we are in the ScanCode toolkit subproject, not the top level AboutCode

docs/conf.py Outdated
# -- Project information -----------------------------------------------------

project = 'AbutCode'
copyright = '2019, Tushar'
Copy link
Member

Choose a reason for hiding this comment

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

I appreciate that you push your copyright there, but I would prefer something more neutral such as " the ScanCode-toolkit authors and contributors or something like there is elsewhere in the code. You also need to ensure that this is detectable with ScanCode. Same for author below

docs/index.rst Outdated
@@ -0,0 +1,20 @@
.. AbutCode documentation master file, created by
Copy link
Member

Choose a reason for hiding this comment

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

That would be ScanCode here and below

@TG1999
Copy link
Contributor Author

TG1999 commented May 8, 2019

@pombredanne I have made the changes as per your review.

Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

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

Thank you. Your latest commits are missing the DCO signoff though... could you amend these?


# FIXME: for sanity this should always be included?????
if include_text:
matched_text = match.matched_text(whole_lines=False)
Copy link
Member

Choose a reason for hiding this comment

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

Can you remove that? Thanks!

@pombredanne
Copy link
Member

@TG1999 also its looks like @DennisClark pushed the basic doc structure with this commit 415d0c8
Could you rebase and adapt/adopt @DennisClark structure?
Thanks!

TG1999 added 4 commits May 16, 2019 20:59
Signed-off-by: TG1999 <[email protected]>
Signed-off-by: TG1999 <[email protected]>
Signed-off-by: TG1999 <[email protected]>
Signed-off-by: TG1999 <[email protected]>
@steven-esser
Copy link
Contributor

@DennisClark Should this be moved to aboutcode? If so I will close and redirect the student to the proper location.

@steven-esser
Copy link
Contributor

steven-esser commented Oct 24, 2019

Changes to this have become stale.

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.

4 participants