Skip to content

Commit

Permalink
Use plone.restapi 7 on Py 2, plone.restapi 8 on Py 3.
Browse files Browse the repository at this point in the history
This means two different branches in sources.cfg.
That will be confusing when testing a PR...

See discussion in plone/plone.volto#22
  • Loading branch information
mauritsvanrees committed Nov 20, 2021
1 parent e787935 commit 192d024
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion sources.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ plone.recipe.precompiler = git ${remotes:plone}/plone.recipe.precompi
plone.recipe.zeoserver = git ${remotes:plone}/plone.recipe.zeoserver.git pushurl=${remotes:plone_push}/plone.recipe.zeoserver.git branch=master
plone.recipe.zope2instance = git ${remotes:plone}/plone.recipe.zope2instance.git pushurl=${remotes:plone_push}/plone.recipe.zope2instance.git branch=master
plone.rest = git ${remotes:plone}/plone.rest.git pushurl=${remotes:plone_push}/plone.rest.git branch=1.x
plone.restapi = git ${remotes:plone}/plone.restapi.git pushurl=${remotes:plone_push}/plone.restapi.git branch=7.x.x
# Note: for plone.restapi we use a different branch on Python2.7. See sources:python27.
plone.restapi = git ${remotes:plone}/plone.restapi.git pushurl=${remotes:plone_push}/plone.restapi.git branch=master
plone.registry = git ${remotes:plone}/plone.registry.git pushurl=${remotes:plone_push}/plone.registry.git branch=master
plone.releaser = git ${remotes:plone}/plone.releaser.git pushurl=${remotes:plone_push}/plone.releaser.git branch=master
plone.reload = git ${remotes:plone}/plone.reload.git pushurl=${remotes:plone_push}/plone.reload.git branch=master
Expand Down Expand Up @@ -196,6 +197,9 @@ Products.ZCatalog = git ${remotes:zope}/Products.ZCatalog.git
Products.ZCTextIndex = git ${remotes:zope}/Products.ZCTextIndex.git pushurl=${remotes:zope_push}/Products.ZCTextIndex.git branch=2.13
Products.ZopeVersionControl = git ${remotes:zope}/Products.ZopeVersionControl.git pushurl=${remotes:zope_push}/Products.ZopeVersionControl.git branch=master

[sources:python27]
plone.restapi = git ${remotes:plone}/plone.restapi.git pushurl=${remotes:plone_push}/plone.restapi.git branch=7.x.x

[precompiler]
recipe = plone.recipe.precompiler
eggs = ${instance:eggs}
Expand Down
3 changes: 2 additions & 1 deletion versions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ plone.registry = 1.2.1
plone.reload = 3.0.2
plone.resource = 2.1.4
plone.rest = 1.6.2
plone.restapi = 7.5.0
plone.restapi = 8.14.0
plone.resourceeditor = 3.0.3
plone.rfc822 = 2.0.2
plone.scale = 3.1.2
Expand Down Expand Up @@ -351,6 +351,7 @@ futures = 3.3.0
keyring = 4.1.1
markdown = 3.1.1
mock = 3.0.5
plone.restapi = 7.5.0
pip = 20.3.4
PyGithub = 1.45
SecretStorage = 2.3.1
Expand Down

0 comments on commit 192d024

Please sign in to comment.