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

DS-3294 #1496

Closed
wants to merge 215 commits into from
Closed

DS-3294 #1496

wants to merge 215 commits into from

Conversation

tantz001
Copy link
Contributor

Fix DS-3294, request-a-copy for embargoed records, including ALL restricted items only requests a single bitstream. changed call to Boolean.getBoolean() with Boolean.valueOf() in SendItemRequestAction.java

helix84 and others added 30 commits January 20, 2015 15:27
DS-2201: Unable to complete installation of DSpace with non-empty variable "db.schema" configuration file "build.properties"
…ils.getSchemaName() so that it can be replaced easily in future. Also cleaned up config comments
Fix DS-2427 for 5.1 by consolidating problematic schema code into DatabaseUtils...
…omplete name for the configuration parameter which determines the accessibility of usage statistics.
…nd pages from displaying for some URL patterns
(verbose error output, avoid NPE on JSP during an attack)
bram-atmire and others added 21 commits December 6, 2015 20:00
Adding class to ensure REST API can register itself during startup
DS-2936 REST-API /handle endpoint broken
Resolved: DSpaceDS-2998, Incorrect metadata element
"dcterms.comformsTo" in dspace registry configuration.
Ticket in the Space Issue Tracker: DS-2998
replace erroneous sql column with correct column
DS-3063 Add missing license headers
https://jira.duraspace.org/browse/DS-3085

Resolved: DSpace DS-3085 (Ticket in the Space Issue Tracker),
Sherpa/Romeo ungraded journal (gray) shows error
…lean.valueOf() in SendItemRequestAction.java
@tdonohue
Copy link
Member

Hi @wilee53, this PR looks to be invalid (includes a lot of unrelated commits), so I'm closing it. If you are trying to create a PR, you might want to ensure you are creating your branch off the latest master codebase...or perhaps rebase your branch on the latest master. More hints on PR creation at:
https://wiki.duraspace.org/display/DSPACE/Development+with+Git#DevelopmentwithGit-ContributingChangestoDSpaceviaGitHub

@tdonohue tdonohue closed this Aug 19, 2016
@tantz001
Copy link
Contributor Author

Tim,
Sorry I messed this up -- I thought I followed the procedure, but I guess
not. Here is what I did, and if you don't mind giving me a hand again, I
would appreciate it.

Forked the DSpace project.
Checked out the dspace-5.5 tag
Branched off that, with the the JIRA issue number (DS-3294)
Fixed the code, committed the change to my repo.
Created the Pull Request.

What did I screw up? Should I have been working from master?

Thanks for helping me out!
Bill

On Fri, Aug 19, 2016 at 10:56 AM, Tim Donohue notifications@github.com
wrote:

Hi @wilee53 https://github.com/wilee53, this PR looks to be invalid
(includes a lot of unrelated commits), so I'm closing it. If you are trying
to create a PR, you might want to ensure you are creating your branch off
the latest master codebase...or perhaps rebase your branch on the latest
master. More hints on PR creation at:
https://wiki.duraspace.org/display/DSPACE/Development+
with+Git#DevelopmentwithGit-ContributingChangestoDSpaceviaGitHub


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1496 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJqhOYp0VZQCIrS_cS4bu4EhJQWG3-lBks5qhdI4gaJpZM4JomIX
.

Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp


Bill Tantzen University of Minnesota Libraries
612-626-9949 (U of M) 612-325-1777 (cell)

@tdonohue
Copy link
Member

Hi @wilee53, it sounds like the mistake was that you created the Pull Request against a different branch than you started from. So you checked out the "dspace-5.5" tag to create your branch, but then you created the PR against the "master" branch.

So, instead, you should checkout "master" and branch off that (for your DS-3294 branch), and then create the PR against "master".

Since it looks like your changes are in a single commit (3d10dcd), you may be able to just do this:

  1. git checkout master
  2. git checkout -b DS-3294-new (creates a new branch "DS-3294-new" off master)
  3. git cherry-pick 3d10dcd6ccd4f263d57c727f71c8d4952f8c9234 (to cherry-pick your one commit to this new branch)
  4. Recreate the PR against "master" using the "DS-3293-new" branch

@tantz001
Copy link
Contributor Author

Tim,
Thanks, before I try that, can you take a minute to explain what is going
on here? The changes I'm making to the file are based on the latest
release -- that's the dspace-5.5 tag right? the file in master is very
different; in fact the single line of code that I'm changing does not even
exist in the master branch.

Bill

On Fri, Aug 19, 2016 at 11:22 AM, Tim Donohue notifications@github.com
wrote:

Hi @wilee53 https://github.com/wilee53, it sounds like the mistake was
that you created the Pull Request against a different branch than you
started from. So you checked out the "dspace-5.5" tag to create your
branch, but then you created the PR against the "master" branch.

So, instead, you should checkout "master" and branch off that (for your
DS-3294 branch), and then create the PR against "master".

Since it looks like your changes are in a single commit (3d10dcd
3d10dcd),
you may be able to just do this:

  1. git checkout master
  2. git checkout -b DS-3294-new (creates a new branch "DS-3294-new" off
    master)
  3. git cherry-pick 3d10dcd (to
    cherry-pick your one commit to this new branch)
  4. Recreate the PR against "master" using the "DS-3293-new" branch


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1496 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJqhOWvk7tKx852iB57rwNzIg79-6L5Jks5qhdg7gaJpZM4JomIX
.

Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp


Bill Tantzen University of Minnesota Libraries
612-626-9949 (U of M) 612-325-1777 (cell)

@tdonohue
Copy link
Member

"master" is the pre-6.0 release, which has undergone a massive API refactor. The 5.x and 6.0 APIs are not compatible. 5.5 is the latest release, but it's being managed over on the "dspace-5_x" branch, as we are working towards 6.0 on the "master" branch.

If you'd rather just provide a patch for 5.x, you can submit your PR against the "dspace-5_x" branch (which is the latest 5.x code), but you have to specifically select that branch when creating the PR.

In this PR, because you started with 5.x and then tried to submit your changes against the (highly refactored) master branch, GitHub got confused and did a diff of the 5.5 tag against master, creating this odd PR of mixmatched commits. GitHub essentially expects you to be creating PRs from the same branch you started with.

So, if you start from "dspace-5_x" branch, create the PR against "dspace-5_x". If you start from "master" branch, create the PR against "master". Unfortunately, GitHub doesn't know how to handle situations where you start from "dspace-5_x" (which is essentially what you did in branching from 5.5 tag) and then creating a PR against "master".

@tantz001
Copy link
Contributor Author

OK, good, I think I get it. I will try, try again!
Bill

On Fri, Aug 19, 2016 at 12:14 PM, Tim Donohue notifications@github.com
wrote:

"master" is the pre-6.0 release, which has undergone a massive API
refactor. The 5.x and 6.0 APIs are not compatible. 5.5 is the latest
release, but it's being managed over on the "dspace-5_x" branch, as we are
working towards 6.0 on the "master" branch.

If you'd rather just provide a patch for 5.x, you can submit your PR
against the "dspace-5_x" branch (which is the latest 5.x code), but you
have to specifically select that branch when creating the PR.

In this PR, because you started with 5.x and then tried to submit your
changes against the (highly refactored) master branch, GitHub got confused
and did a diff of the 5.5 tag against master, creating this odd PR of
mixmatched commits. GitHub essentially expects you to be creating PRs from
the same branch you started with.

So, if you start from "dspace-5_x" branch, create the PR against
"dspace-5_x". If you start from "master" branch, create the PR against
"master". Unfortunately, GitHub doesn't know how to handle situations where
you start from "dspace-5_x" (which is essentially what you did in branching
from 5.5 tag) and then creating a PR against "master".


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#1496 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJqhOUZEbZ6R-f6Ud8Hk_DoZGOOsAYmzks5qheRkgaJpZM4JomIX
.

Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp


Bill Tantzen University of Minnesota Libraries
612-626-9949 (U of M) 612-325-1777 (cell)

@tantz001 tantz001 deleted the DS-3294 branch August 19, 2016 18:03
KevinVdV pushed a commit to atmire/DSpace that referenced this pull request Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet