We can credit any contributor who would like to be credited this way, by adding them on request to the AUTHORS file. The copyright statement changes are required for this to work. Note that this has...
Summary:
We can credit any contributor who would like to be credited this way, by adding them on request to the AUTHORS file. The copyright statement changes are required for this to work. Note that this has no legal change, since the contributors always retained their copyright despite the copyright notice, but it's a nice acknowledgement.
Changed copyright statement to include non-Google authors.
Command run:
find * \( -name '*\.m' -or -name '*\.h' -or -name '*\.swift' \) -and -not \( -path 'scripts/external*' -name Pods \) -print0 | xargs -0 sed -i '' 's/Copyright \(.*\) Google Inc/Copyright \1 the Material Components for iOS authors/'
Added non-source files.
Command run:
grep -Rl 'Copyright .* Google Inc' * --exclude-dir scripts/external --null | xargs -0 sed -i '' 's/Copyright \(.*\) Google Inc/Copyright \1 the Material Components for iOS authors/'
Reviewers: featherless, O1 Material components iOS, randallli
Reviewed By: O1 Material components iOS, randallli
Tags: #material_components_ios
Differential Revision: http://codereview.cc/D1415
Summary:
`git rev-list -n 1 <ref>` returns the nearest commit's sha for a given ref.
`git rev-parse <ref>` returns the sha for the ref itself. E.g. tags have their own sha distinct from the commit to which they're associated.
GitHub doesn't reconcile shas for tags, so `git rev-list` ensures that our api_diff output will always be linkable on GitHub.
Reviewers: #mdc_ios_owners, iangordon
Reviewed By: #mdc_ios_owners, iangordon
Projects: #material_components_ios
Differential Revision: http://codereview.cc/D787
Summary: This script is a general-purpose tool for creating a clone of the repo at a specific ref. It will be helpful for use in other API diffing tools.
Reviewers: ajsecord, #mdc_ios_owners
Reviewed By: ajsecord, #mdc_ios_owners
Subscribers: ajsecord
Projects: #material_components_ios
Differential Revision: http://codereview.cc/D784
Summary:
This will allow us to more easily use objc-diff in other tools.
New script has two "modes":
- No arguments: clones and builds objc-diff
- -p: Echos path to the objc-diff binary and exits (produces no other output)
Reviewers: ajsecord, #mdc_ios_owners
Reviewed By: ajsecord, #mdc_ios_owners
Subscribers: ajsecord
Projects: #material_components_ios
Differential Revision: http://codereview.cc/D783
Summary:
- Removes the copy-pasted names and outputs the proper shas.
- Use the new url for deprecated APIs.
Reviewers: #mdc_ios_owners, ajsecord
Reviewed By: #mdc_ios_owners, ajsecord
Subscribers: ajsecord
Projects: #material_components_ios
Differential Revision: http://codereview.cc/D500