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

Link changes to the source file on GitHub #31

Open
andreasohlund opened this issue Apr 16, 2015 · 1 comment
Open

Link changes to the source file on GitHub #31

andreasohlund opened this issue Apr 16, 2015 · 1 comment
Labels
Milestone

Comments

@andreasohlund
Copy link
Owner

To provide links to the source of a particular change we need to know the root url for the specific file.

The idea is to look for a APIComparerRootUrlproperty in the nuspec file and use that to generate the links.

Example: https://github.com/Particular/NServiceBus/blob/5.1.3/

Since Cecil will give us the full path to the source file where it was built we need to do the following:

  1. Query the root url to get a list of "root" folders
  2. Use those folders create a relative path from the cecil info
  3. Join the root url with the relative path to get the link url
@andreasohlund andreasohlund added this to the vNext milestone Apr 16, 2015
@andreasohlund
Copy link
Owner Author

@SimonCropp does the reflect the discussion we had?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant