hydra 6.0.0.rc6 → 6.0.0.rc7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c2bd3d45c25e1a7ae8062eb4c65aabf06843ce0
4
- data.tar.gz: 1c29152eb56afd78c6f76823765ef5d04d44af56
3
+ metadata.gz: b9d0ffffd2a52b4fdba6fdac897f5abb93708676
4
+ data.tar.gz: 6283a727bf4e90b97061dde3c3f8986c88e3076d
5
5
  SHA512:
6
- metadata.gz: fc0ede761e347948119ee1b806c3242920d2e1bf9fb29ee3c3d1cb922c74a3a79dc644492f23ee450cb6779bfa8d53f6b34d759c588f9657f0b98377cb55f2b7
7
- data.tar.gz: 99d132e6c399b01438d06d2ba63217691133267956839a1016df8becc23b774148ab2a4109e059bd5448882068dc7052a457c844772802c70fdddf3566d0f106
6
+ metadata.gz: dea90b7c0ce0651a6c9571b2a15475c0adc9c2fc7a7f16add906f630ead87d086f3785517edd6bb2c59fb9470abb24c987255034f3b0ec438525dbe5aea25775
7
+ data.tar.gz: 6f02813b28d4618f021a37c8574db772df228987a0cfcee543700887eb2586365b2956422157c8bfbc2d85e3b63b7074e5550f87db979c0b82efa657c462c9c2
data/.mailmap ADDED
@@ -0,0 +1,2 @@
1
+ Mark Bussey <mark@curationexperts.com> mark-dce <mark@curationexperts.com>
2
+ Andrew Myers <andrew_myers@wgbh.org> afred <afredmyers@gmail.com>
data/CONTRIBUTING.md CHANGED
@@ -3,19 +3,35 @@
3
3
  We want your help to make Project Hydra great.
4
4
  There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
5
5
 
6
- ## Getting Started
6
+ ## Hydra Project Intellectual Property Licensing and Ownership
7
+
8
+ All code contributors must have an Individual Contributor License Agreement (iCLA) on file with the Hydra Project Steering Group.
9
+ If the contributor works for an institution, the institution must have a Corporate Contributor License Agreement (cCLA) on file.
10
+
11
+ https://wiki.duraspace.org/display/hydra/Hydra+Project+Intellectual+Property+Licensing+and+Ownership
12
+
13
+ You should also add yourself to the `CONTRIBUTORS.md` file in the root of the project.
14
+
15
+ ## Contribution Tasks
16
+
17
+ * Reporting Issues
18
+ * Making Changes
19
+ * Submitting Changes
20
+ * Merging Changes
21
+
22
+ ### Reporting Issues
7
23
 
8
24
  * Make sure you have a [GitHub account](https://github.com/signup/free)
9
- * Submit a [Github issue](https://github.com/projecthydra/hydra/issues) by:
25
+ * Submit a [Github issue](./issues) by:
10
26
  * Clearly describing the issue
11
27
  * Provide a descriptive summary
12
28
  * Explain the expected behavior
13
29
  * Explain the actual behavior
14
30
  * Provide steps to reproduce the actual behavior
15
- * Fork the repository on GitHub
16
31
 
17
- ## Making Changes
32
+ ### Making Changes
18
33
 
34
+ * Fork the repository on GitHub
19
35
  * Create a topic branch from where you want to base your work.
20
36
  * This is usually the master branch.
21
37
  * To quickly create a topic branch based on master; `git branch fix/master/my_contribution master`
@@ -23,9 +39,10 @@ There are a few guidelines that we need contributors to follow so that we can ha
23
39
  * Please avoid working directly on the `master` branch.
24
40
  * You may find the [hub suite of commands](https://github.com/defunkt/hub) helpful
25
41
  * Make commits of logical units.
42
+ * Your commit should include a high level description of your work in HISTORY.textile
26
43
  * Check for unnecessary whitespace with `git diff --check` before committing.
27
- * Make sure your commit messages are in the
28
- [proper format](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
44
+ * Make sure your commit messages are [well formed](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
45
+ * If you created an issue, you can close it by including "Closes #issue" in your commit message. See [Github's blog post for more details](https://github.com/blog/1386-closing-issues-via-commit-messages)
29
46
 
30
47
  ```
31
48
  Present tense short summary (50 characters or less)
@@ -36,6 +53,8 @@ There are a few guidelines that we need contributors to follow so that we can ha
36
53
  should add such description also if it's already present in bug tracker,
37
54
  it should not be necessary to visit a webpage to check the history.
38
55
 
56
+ Include Closes #<issue-number> when relavent.
57
+
39
58
  Description can have multiple paragraphs and you can use code examples
40
59
  inside, just indent it with 4 spaces:
41
60
 
@@ -55,21 +74,38 @@ There are a few guidelines that we need contributors to follow so that we can ha
55
74
 
56
75
  * Make sure you have added the necessary tests for your changes.
57
76
  * Run _all_ the tests to assure nothing else was accidentally broken.
77
+ * When you are ready to submit a pull request
78
+
79
+ ### Submitting Changes
80
+
81
+ * Read the article ["Using Pull Requests"](https://help.github.com/articles/using-pull-requests) on GitHub.
82
+ * Make sure your branch is up to date with its parent branch (i.e. master)
83
+ * `git checkout master`
84
+ * `git pull --rebase`
85
+ * `git checkout <your-branch>`
86
+ * `git rebase master`
87
+ * It is likely a good idea to run your tests again.
88
+ * Squash the commits for your branch into one commit
89
+ * `git rebase --interactive HEAD~<number-of-commits>` ([See Github help](https://help.github.com/articles/interactive-rebase))
90
+ * To determine the number of commits on your branch: `git log master..<your-branch> --oneline | wc -l`
91
+ * Squashing your branch's changes into one commit is "good form" and helps the person merging your request to see everything that is going on.
92
+ * Push your changes to a topic branch in your fork of the repository.
93
+ * Submit a pull request from your fork to the project.
58
94
 
59
- ## Hydra Project Intellectual Property Licensing and Ownership
60
-
61
- All code contributors must have an Individual Contributor License Agreement (iCLA) on file with the Hydra Project Steering Group.
62
- If the contributor works for an institution, the institution must have a Corporate Contributor License Agreement (cCLA) on file.
63
-
64
- https://wiki.duraspace.org/display/hydra/Hydra+Project+Intellectual+Property+Licensing+and+Ownership
65
-
66
- ## Submitting Changes
95
+ ### Merging Changes
67
96
 
68
- * Push your changes to a topic branch in your fork of the repository.
69
- * Submit a pull request to the project https://github.com/projecthydra/hydra
70
- * Update your Github issue – if you use the hub command, this can be automated – by associating the issue with the pull request.
97
+ * It is considered "poor from" to merge your own request.
98
+ * Please take the time to review the changes and get a sense of what is being changed. Things to consider:
99
+ * Does the commit message explain what is going on?
100
+ * Does the code changes have tests? _Not all changes need new tests, some changes are refactorings_
101
+ * Does the commit contain more than it should? Are two separate concerns being addressed in one commit?
102
+ * Did the Travis tests complete successfully?
103
+ * If you are uncertain, bring other contributors into the conversation by creating a comment that includes their @username.
104
+ * If you like the pull request, but want others to chime in, create a +1 comment and tag a user.
71
105
 
72
106
  # Additional Resources
73
107
 
74
108
  * [General GitHub documentation](http://help.github.com/)
75
- * [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
109
+ * [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
110
+ * [Pro Git](http://git-scm.com/book) is both a free and excellent book about Git.
111
+ * [A Git Config for Contributing](http://ndlib.github.io/practices/my-typical-per-project-git-config/)
data/CONTRIBUTORS.md ADDED
@@ -0,0 +1,8 @@
1
+ Contributors to this project:
2
+
3
+ * Andrew Myers
4
+ * Jeremy Friesen
5
+ * Jessie Keck
6
+ * Justin Coyne
7
+ * Mark Bussey
8
+
data/LICENSE.txt CHANGED
@@ -1,5 +1,6 @@
1
1
  ##########################################################################
2
- # Copyright 2013 Project Hydra
2
+ # Copyright 2013 Notre Dame, Data Curation Experts, WGBH
3
+ # Additional copyright may be held by others, as reflected in the commit log
3
4
  #
4
5
  # Licensed under the Apache License, Version 2.0 (the "License");
5
6
  # you may not use this file except in compliance with the License.
@@ -11,4 +12,4 @@
11
12
  # distributed under the License is distributed on an "AS IS" BASIS,
12
13
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
14
  # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
+ # limitations under the License.
data/README.md CHANGED
@@ -1,24 +1,14 @@
1
- # Hydra
2
-
3
- Project Hydra Stack Dependencies
4
-
5
- ## ngauthier-hydra
6
-
7
- If you are looking for the previous hydra gem, a distributed testing framework,
8
- please visit [https://github.com/ngauthier/hydra](https://github.com/ngauthier/hydra).
9
- If you need to previous hydra gem, you can use `gem ngauthier-hydra`.
10
-
11
- ## Code Status
1
+ # Hydra
2
+ This gem provides a distibution-like snapshot of all dependencies within the core hydra technology stack.
12
3
 
4
+ ## Code Status
13
5
  [![Build Status](https://travis-ci.org/projecthydra/hydra-head.png?branch=master)](https://travis-ci.org/projecthydrahydra/hydra-head)
14
6
  [![Dependencies Status](https://gemnasium.com/projecthydra/hydra.png)](https://gemnasium.com/projecthydra/hydra)
15
7
 
16
- ## Contributing
17
-
8
+ ## Contributing
18
9
  [Contributing to Project Hydra](CONTRIBUTING.md)
19
10
 
20
- ## Developer Wiki
21
-
11
+ ## Developer Wiki
22
12
  https://github.com/projecthydra/hydra/wiki
23
13
 
24
14
  ## Installation
@@ -38,3 +28,23 @@ Or install it yourself as:
38
28
  Then run:
39
29
 
40
30
  $ rails g hydra:install
31
+
32
+ ## Acknowledgements
33
+ The initial insights and ideas behind producting a "distro-like" gem to reflect a particular known-good,
34
+ point-in-time state of the Hydra technology stack resulted from a series of community discussions online,
35
+ in e-mail, and in person during the period from December 2012 through June 2013. Huge thanks are owed to
36
+ Jeremy Friesen (Notre Dame), Drew Myers (WGBH), Justin Coyne (Data Curation Experts),
37
+ and Mark Bussey (Data Curation Experts) for activating on these ideas and implementing this gem.
38
+
39
+ A giant thank you is also owed to [Nick Gauthier](https://github.com/ngauthier) for offering up the Hydra gem name:
40
+
41
+ ### ngauthier-hydra
42
+ If you are looking for the previous hydra gem, a distributed testing framework,
43
+ please visit [https://github.com/ngauthier/hydra](https://github.com/ngauthier/hydra).
44
+ If you need to previous hydra gem, you can use `gem ngauthier-hydra`.
45
+
46
+ # Project Hydra
47
+ This software has been developed by and is brought to you by the Hydra community. Learn more at the
48
+ [Project Hydra website](http://projecthydra.org)
49
+
50
+ ![Project Hydra Logo](https://github.com/uvalib/libra-oa/blob/a6564a9e5c13b7873dc883367f5e307bf715d6cf/public/images/powered_by_hydra.png?raw=true)
data/hydra.gemspec CHANGED
@@ -7,10 +7,11 @@ Gem::Specification.new do |gem|
7
7
  gem.name = "hydra"
8
8
  gem.version = Hydra::VERSION
9
9
  gem.authors = [
10
- "Jeremy Friesen",
10
+ "Jeremy Friesen", "Justin Coyne"
11
11
  ]
12
12
  gem.email = [
13
13
  "jeremy.n.friesen@gmail.com",
14
+ "jcoyne@justincoyne.com",
14
15
  ]
15
16
  gem.description = %q{Project Hydra Stack Dependencies}
16
17
  gem.summary = %q{Project Hydra Stack Dependencies}
@@ -21,11 +22,11 @@ Gem::Specification.new do |gem|
21
22
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
22
23
  gem.require_paths = ["lib"]
23
24
 
24
- gem.add_dependency 'hydra-head', '~> 6.2.0'
25
+ gem.add_dependency 'hydra-head', '~> 6.3.0'
25
26
  gem.add_dependency 'jettywrapper', '~> 1.4.1'
26
- gem.add_dependency 'active-fedora', '~> 6.2.0'
27
- gem.add_dependency 'rails', '~> 3.2.13'
28
- gem.add_dependency 'om', '~> 2.1.2'
27
+ gem.add_dependency 'active-fedora', '~> 6.4.0'
28
+ gem.add_dependency 'rails', '>= 3.2.13', '< 5.0'
29
+ gem.add_dependency 'om', '~> 3.0.1'
29
30
  gem.add_dependency 'solrizer', '~> 3.1.0'
30
31
  gem.add_dependency 'rsolr', '~> 1.0.9'
31
32
  gem.add_dependency 'blacklight', '~> 4.2.1'
data/lib/hydra/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hydra
2
- VERSION = "6.0.0.rc6"
2
+ VERSION = "6.0.0.rc7"
3
3
  end
data/lib/hydra6.rb CHANGED
@@ -1,2 +1,10 @@
1
1
  require "hydra/version"
2
2
  require 'hydra/head'
3
+ require 'active-fedora'
4
+ require 'rails'
5
+ require 'om'
6
+ require 'solrizer'
7
+ require 'rsolr'
8
+ require 'blacklight'
9
+ require 'nokogiri'
10
+ require 'rubydora'
@@ -0,0 +1,77 @@
1
+ #!/usr/bin/env bash
2
+
3
+ function show_help() {
4
+ echo "Usage: changelog.sh [options]"
5
+ echo "Generates a changelog from git history, ommitting commit messages that"
6
+ echo " are merges or contain the following: \"$skip_tag\""
7
+ echo
8
+ echo "Format:"
9
+ echo "commit subject [committer name]"
10
+ echo
11
+ echo "Options:"
12
+ echo "-v Verbose output (i.e. include full commit messages)"
13
+ echo "-r <since>..<until> Range of commits to query, see \`git log\` for more"
14
+ echo " defaults to most recent version tag (i.e. \"`default_range`\")"
15
+ }
16
+
17
+ verbose=0
18
+ range_parameter=0
19
+ skip_tag="\[log skip\]"
20
+
21
+ function default_range() {
22
+ local latest_version_tag=`git tag | grep ^v | sort | tail -1`
23
+ # a ".." range tag causes the `git log` command to fail
24
+ if [ -z "$latest_version_tag" ]; then
25
+ echo ''
26
+ else
27
+ echo "$latest_version_tag.."
28
+ fi
29
+ }
30
+
31
+ while getopts "h?vr:" opt; do
32
+ case $opt in
33
+ h|\?)
34
+ show_help
35
+ exit 0
36
+ ;;
37
+ v )
38
+ verbose=1
39
+ ;;
40
+ r )
41
+ range_parameter=$OPTARG
42
+ ;;
43
+ esac
44
+ done;
45
+
46
+
47
+ function get_range() {
48
+ if [ $range_parameter = 0 ]; then
49
+ default_range
50
+ else
51
+ echo $range_parameter
52
+ fi
53
+ }
54
+
55
+ range=`get_range`
56
+
57
+ function get_format() {
58
+ # Subject/author line wraps at 80 characters, no padding
59
+ local format_subject_author="%w(80,0,0)%s [%cN]%n"
60
+ if [ $verbose = 0 ]; then
61
+ echo "tformat:$format_subject_author"
62
+ else
63
+ echo "tformat:$format_subject_author%n%w(72,4,4)%b"
64
+ fi
65
+ }
66
+ pretty_format=`get_format`
67
+
68
+ function main() {
69
+ # Get a list of all SHA1 commits
70
+ # Filter the list to exclude all SHA1 commits with $skip_tag
71
+ # Then requery the log and output format
72
+ git log $range --no-merges --format=%H $@ |
73
+ grep -v -f <(git log $range --no-merges --format=%H "--grep=$skip_tag" $@) |
74
+ git log $range --no-merges --pretty="$pretty_format" --stdin --no-walk
75
+ }
76
+
77
+ main
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env sh
2
+
3
+ #
4
+ # Auto-generate a list of contributors for a given Git repository.
5
+ #
6
+ # At the root of a project:
7
+ #
8
+ # ./script/contributors.sh
9
+ #
10
+
11
+ echo "Contributors to this project:" > CONTRIBUTORS.md
12
+ echo >> CONTRIBUTORS.md
13
+ git shortlog -s | cut -c '8-200' | awk '{print "* ", $0}' >> CONTRIBUTORS.md
14
+ echo >> CONTRIBUTORS.md
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.rc6
4
+ version: 6.0.0.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Friesen
8
+ - Justin Coyne
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-06-07 00:00:00.000000000 Z
12
+ date: 2013-07-01 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: hydra-head
@@ -16,14 +17,14 @@ dependencies:
16
17
  requirements:
17
18
  - - ~>
18
19
  - !ruby/object:Gem::Version
19
- version: 6.2.0
20
+ version: 6.3.0
20
21
  type: :runtime
21
22
  prerelease: false
22
23
  version_requirements: !ruby/object:Gem::Requirement
23
24
  requirements:
24
25
  - - ~>
25
26
  - !ruby/object:Gem::Version
26
- version: 6.2.0
27
+ version: 6.3.0
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: jettywrapper
29
30
  requirement: !ruby/object:Gem::Requirement
@@ -44,42 +45,48 @@ dependencies:
44
45
  requirements:
45
46
  - - ~>
46
47
  - !ruby/object:Gem::Version
47
- version: 6.2.0
48
+ version: 6.4.0
48
49
  type: :runtime
49
50
  prerelease: false
50
51
  version_requirements: !ruby/object:Gem::Requirement
51
52
  requirements:
52
53
  - - ~>
53
54
  - !ruby/object:Gem::Version
54
- version: 6.2.0
55
+ version: 6.4.0
55
56
  - !ruby/object:Gem::Dependency
56
57
  name: rails
57
58
  requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
- - - ~>
60
+ - - '>='
60
61
  - !ruby/object:Gem::Version
61
62
  version: 3.2.13
63
+ - - <
64
+ - !ruby/object:Gem::Version
65
+ version: '5.0'
62
66
  type: :runtime
63
67
  prerelease: false
64
68
  version_requirements: !ruby/object:Gem::Requirement
65
69
  requirements:
66
- - - ~>
70
+ - - '>='
67
71
  - !ruby/object:Gem::Version
68
72
  version: 3.2.13
73
+ - - <
74
+ - !ruby/object:Gem::Version
75
+ version: '5.0'
69
76
  - !ruby/object:Gem::Dependency
70
77
  name: om
71
78
  requirement: !ruby/object:Gem::Requirement
72
79
  requirements:
73
80
  - - ~>
74
81
  - !ruby/object:Gem::Version
75
- version: 2.1.2
82
+ version: 3.0.1
76
83
  type: :runtime
77
84
  prerelease: false
78
85
  version_requirements: !ruby/object:Gem::Requirement
79
86
  requirements:
80
87
  - - ~>
81
88
  - !ruby/object:Gem::Version
82
- version: 2.1.2
89
+ version: 3.0.1
83
90
  - !ruby/object:Gem::Dependency
84
91
  name: solrizer
85
92
  requirement: !ruby/object:Gem::Requirement
@@ -167,12 +174,15 @@ dependencies:
167
174
  description: Project Hydra Stack Dependencies
168
175
  email:
169
176
  - jeremy.n.friesen@gmail.com
177
+ - jcoyne@justincoyne.com
170
178
  executables: []
171
179
  extensions: []
172
180
  extra_rdoc_files: []
173
181
  files:
174
182
  - .gitignore
183
+ - .mailmap
175
184
  - CONTRIBUTING.md
185
+ - CONTRIBUTORS.md
176
186
  - Gemfile
177
187
  - LICENSE.txt
178
188
  - README.md
@@ -182,6 +192,8 @@ files:
182
192
  - lib/generators/hydra/install_generator.rb
183
193
  - lib/hydra/version.rb
184
194
  - lib/hydra6.rb
195
+ - script/changelog.sh
196
+ - script/contributors.sh
185
197
  homepage: http://projecthydra.org/
186
198
  licenses: []
187
199
  metadata: {}