Skip to content

Use repository's name when possible instead of local directory name - #1781

Closed
danielkalen wants to merge 2 commits into
desktop:masterfrom
danielkalen:master
Closed

danielkalen wants to merge 2 commits into
desktop:masterfrom
danielkalen:master

Conversation

@danielkalen

Copy link
Copy Markdown
Contributor

Addresses #1701 and #664

@shiftkey shiftkey mentioned this pull request May 26, 2017

@shiftkey shiftkey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for kicking this off @danielkalen!

I'd like to see some tests in here so we can capture the impact of this change for posterity - if you're not sure where to start, I can give some pointers - and I need to think more about other areas to look at as part of assessing the impact of this change, but this approach is a good start 🤘


public get name(): string {
return path.basename(this.path)
const repoName = this.gitHubRepository && this.gitHubRepository.name

This comment was marked as spam.

@shiftkey shiftkey self-assigned this May 26, 2017
@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label May 26, 2017
@danielkalen

Copy link
Copy Markdown
Contributor Author

Since I accidentaly messed up the commits across the branches in this fork I created a new branch, applied the requested changes, and created a new PR here #1801

I'm afraid I will need some pointers on where to start with the tests as this project is relatively massive and I'm no TypeScript expert... Analyzing the project's test suite on my own in attempt to figure it out will take me a lot of time.

@shiftkey

Copy link
Copy Markdown
Member

I'm afraid I will need some pointers on where to start with the tests as this project is relatively massive and I'm no TypeScript expert... Analyzing the project's test suite on my own in attempt to figure it out will take me a lot of time.

@danielkalen 👍 I'll carve out some time early next week for this and see if I can turn it into some proper documentation for the project.

@shiftkey

Copy link
Copy Markdown
Member

Since I accidentaly messed up the commits across the branches in this fork I created a new branch, applied the requested changes, and created a new PR here

@danielkalen for future reference, if things get really bad with a branch on your fork you can just force-push (git push origin {branch} -f )your changes and they'll get synchronized to the PR.

@danielkalen

danielkalen commented May 27, 2017 •

Copy link
Copy Markdown
Contributor Author

I'll carve out some time early next week for this and see if I can turn it into some proper documentation for the project.

@shiftkey sounds great! I'll be awaiting your feedback. If you find your self spending too much time on this I won't mind dealing with a very quick rundown on where to start with the test suites.

for future reference, if things get really bad with a branch on your fork you can just force-push (git push origin {branch} -f )your changes and they'll get synchronized to the PR.

Hmm... well the issue for me wasn't really to push to remote after rebasing, but rather the issue was avoiding a merge that git was forcing me to perform which I wasn't able to get past - therefore I created a new branch. As for this PR I noticed that I accidentally used the master branch of the fork instead of a dedicated branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants