Skip to content

All: Replace Release.project with more appropriate values #52

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

Closed
wants to merge 1 commit into from

Conversation

jzaefferer
Copy link
Member

Use package name for CDN. Use bugs and repository fields for changelog.
Adds a _packageUrl method that the Trac module can also use.

Fixes gh-49
Closes gh-52
#50 and #51 were side effects while working on this. I actually missed the change from #50 a few times, since I put that in a separate branch.

Tested this against fake-project, jquery, jquery-ui, jquery-mobile and qunit. Since the changelog generation is barely working, I specifically check the return value of _ticketUrl and _repositoryUrl for each.

@scottgonzalez
Copy link
Member

_ticketUrl() and _repositoryUrl() seem like they're more suited for repo.js.

var result = Release.readPackage()[ field ];

// Make sure it exists
if (!result) {
Copy link
Member

Choose a reason for hiding this comment

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

spacing

@scottgonzalez
Copy link
Member

Overall, this looks good.

jzaefferer added a commit to jzaefferer/jquery-release that referenced this pull request Mar 24, 2014
@jzaefferer
Copy link
Member Author

Since those two methods are currently used only in changelog.js, I'd like to keep them there. Otherwise they should be without the underscore prefix and documented in the README, right? If moving as-is is fine, I can just do that though.

@scottgonzalez
Copy link
Member

The methods only need to be documented if they're intended to be used in a project-specific script.

jzaefferer added a commit to jzaefferer/jquery-release that referenced this pull request Mar 24, 2014
Use package name for CDN. Use bugs and repository fields for changelog.
Adds a _packageUrl method that the Trac module can also use.

Fixes gh-49
Closes jquerygh-52
@jzaefferer
Copy link
Member Author

Okay, updated.

@scottgonzalez
Copy link
Member

Looks good.

jzaefferer added a commit to jzaefferer/jquery-release that referenced this pull request Mar 24, 2014
Use package name for CDN. Use bugs and repository fields for changelog.
Adds a _packageUrl method that the Trac module can also use.

Fixes gh-49
Closes jquerygh-52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Replace Release.project
2 participants