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

add version restore functionality to transport layer #283

Open
wants to merge 12 commits into
base: 2.x
Choose a base branch
from
Open

add version restore functionality to transport layer #283

wants to merge 12 commits into from

Conversation

danrot
Copy link
Contributor

@danrot danrot commented Jun 11, 2015

This PR adds a call to the restore method of the VersionHandler in jackalope/jackalope

Needs jackalope/jackalope#289 and phpcr/phpcr#93
It also uses the tests added at phpcr/phpcr-api-tests#160

@@ -20,14 +20,14 @@
"doctrine/dbal": ">=2.4.5,<3.0.x-dev",
"phpcr/phpcr": "~2.1.2",
"phpcr/phpcr-utils": "~1.2,>=1.2.6",
"jackalope/jackalope": "dev-versioning as 1.3.0"
"jackalope/jackalope": "dev-version-restore as 1.3.0"
Copy link
Member

Choose a reason for hiding this comment

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

revert when merged

@dbu
Copy link
Member

dbu commented Jun 11, 2015

code looks good, lets see with the jackalpe change and the new tests

@danrot
Copy link
Contributor Author

danrot commented Sep 22, 2015

@dbu Same here, I rebased, but was the versioning branch already up to date?

@dbu dbu changed the title added restore functionality to transport layer add version restore functionality to transport layer Jan 22, 2016
@dbu
Copy link
Member

dbu commented Jan 22, 2016

i rebased the versioning branch on master, to get the latest fixes. i created a WIP PR for that in #316. can you try to reset this commit onto the other branch?

@danrot
Copy link
Contributor Author

danrot commented Feb 14, 2016

@dbu Updated, hope I can make some real progress the next weeks...

@dbu
Copy link
Member

dbu commented Feb 17, 2016

great!
i am in montreal from today on, for the confoo conference next week. until end of february i should have a bit of time to give feedback. then i will be on holidays without my computer until easter...

@danrot
Copy link
Contributor Author

danrot commented Dec 13, 2016

In order to initialize some nodes with a node type of the rep namespace correctly, I need the PR phpcr/phpcr#93 to be merged.

@@ -148,6 +150,7 @@ class Client extends BaseTransport implements QueryTransport, WritingInterface,
*/
private $coreNamespaces = array(
NamespaceRegistryInterface::PREFIX_EMPTY => NamespaceRegistryInterface::NAMESPACE_EMPTY,
NamespaceRegistry::PREFIX_REP => NamespaceRegistry::NAMESPACE_REP,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dbu Is this solution ok? Have now moved the constant to jackalope/jackalope instead of phpcr/phpcr.

Copy link
Member

Choose a reason for hiding this comment

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

yep, i think that is the correct thing to do

@dbu dbu changed the base branch from versioning to 2.x August 12, 2022 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants