Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 12 09:55
    beabri commented #1350
  • Sep 12 09:55
    beabri commented #1354
  • Aug 29 02:03
    dependabot[bot] labeled #1463
  • Aug 29 02:03
    dependabot[bot] opened #1463
  • Aug 29 02:03

    dependabot[bot] on npm_and_yarn

    Bump mixin-deep from 1.3.1 to 1… (compare)

  • Aug 28 01:08
    dependabot[bot] labeled #1462
  • Aug 28 01:08
    dependabot[bot] opened #1462
  • Aug 28 01:08

    dependabot[bot] on npm_and_yarn

    Bump mixin-deep from 1.3.1 to 1… (compare)

  • Aug 28 00:43
    dependabot[bot] labeled #1461
  • Aug 28 00:43
    dependabot[bot] opened #1461
  • Aug 28 00:43

    dependabot[bot] on npm_and_yarn

    Bump mixin-deep from 1.3.1 to 1… (compare)

  • Aug 27 20:10
    borekb edited #1218
  • Jul 21 19:26
    borekb commented #1458
  • Jul 21 12:54
    borekb review_requested #1458
  • Jul 11 10:50

    dependabot[bot] on npm_and_yarn

    (compare)

  • Jul 11 10:50
    borekb milestoned #1460
  • Jul 11 10:49

    borekb on master

    Bump lodash from 4.17.11 to 4.1… Merge pull request #1460 from v… (compare)

  • Jul 11 10:49
    borekb closed #1460
  • Jul 11 10:30
    dependabot[bot] synchronize #1460
  • Jul 11 10:30

    dependabot[bot] on npm_and_yarn

    Bump lodash from 4.17.11 to 4.1… (compare)

menathor
@menathor
Hi guys! Wondering if someone could point me in the right direction... I'm looking for a way to automatically push plugin updates to separate gitlab repos (i.e. a separate repo per plugin). Reason being I want to keep track of updates to my premium plugins so I can easily roll back to a previous versions of a particular plugin. Is there some way I could achieve this with versionpress? Thanks!
Nicolás Mercado
@nmercado1986
@menathor, not sure this is something Versionpress is supposed to manage.
But this is something which can be achieved with some newer "frameworks" that let you handle wordpress as a composer dependency (thanks to johnpblock's package).
I personally use bedrock for this https://roots.io/bedrock/. If you're not planning to do CI/CD and don't need to programatically activate new plugins as they are pushed (that means ,you can do it manually after deployment), their default setup is pretty straightforward.
If you need to ensure that new plugins are activated upon deployment and you can't or don't want to activate them manually, you can follow this guide to selectively turn specific plugins into must-use plugins for your project in Bedrock: https://roots.io/bedrock/docs/mu-plugins-autoloader/
fred974
@fred974
Hi all,
Could anyone please tell me if this project is still alive? The last blog entry on versionpress.com is december 2018 and the last entry in gitter is june2018.
Ryan Riggin
@rriggin
Hey all, will versionpress work in a wordpress.com hosted environment, or is self hosting a dependency?
Borek Bernard
@borekb
@fred974 hi, VersionPress receives occasional updates, see commits on GitHub, but people contribute in their free time which is scarce :)
@rriggin VersionPress.com is a separate service that is meant to run the OSS plugin when it matures enough but right now, it doesn't support it. we'll very likely rebrand VersionPress.com (the hosting service) to something else later this year to avoid this confusion.
Oliver Haase
@efuturetoday
@borekb hey - is it possible to use a custom prefix in the database.yml. I need to make a 3rd party plugin compatible and its using another prefix for the tables. Thanks!
Borek Bernard
@borekb
@efuturetoday that's not possible, VersionPress always uses the global prefix (which plugins should respect, IMO – it's a user option)
Oliver Haase
@efuturetoday
@borekb thank you for your fast response! I agree with you that plugin developers should respect the coding guidelines. But in my case the plugins is mandatory and i like to use that. Is there something that i miss, thats against an additional option like 'prefix' in the schema.yml thats overwrite the default prefix for this entity? Just wondering - maybe I create a pull request...
Borek Bernard
@borekb
I think it sounds quite reasonable to support that in schema.yml, if you want to work on a PR,
feel free to do so.
Borek Bernard
@borekb
I can't think through all the consequences right now, it's certainly an edge case so please be careful to do it in such a way that it's not a burden to the majority of users
Oliver Haase
@efuturetoday
@borekb i created a PR. Thanks!
Ryan Riggin
@rriggin
anyone tried using version press with a wpengine hosted wordpress instance?
Craig Andrews
@candrews
borekb, do we know when there will be another beta release? I'm having to deal with a lot of manual annoyance patching Versionpress to fix problem already merged into master a few months ago, such as versionpress/versionpress#1435 and versionpress/versionpress#1438
Borek Bernard
@borekb
hi Craig, maybe you described it already and I have forgotten but what's the annoyance? does it make a big difference whether you download a ZIP file from GitHub or download it from some other shared storage? (I assume that you have built the newer version previously.)
Borek Bernard
@borekb
this is the previous discussion around the topic: versionpress/versionpress#1433
Javier Segovia Córdoba
@JavierSegoviaCordoba
I was reading the docs and I have some question about data bases
"However, there are also plugins that are either not quite well coded or so complex that they require specific support. To a lesser extent, this is also true for themes, mostly the "page builder" themes that possibly use their own database tables, etc. But it is far more common for plugins."
VersionPress can't backup all databases, only those created by WordPress?
Fred Shniper
@FShniper_twitter

Hello All,
I have a question.
We use version press in slightly unusual way:
We don't have several environments like dev, stage etc. and we don't use clone site to clone from one env to another, instead we use version press only for auto-commit and whenever we want to even DB with git code we use apply changes option to create DB records per the code change.
Our issues: Merge conflict while trying to merge after the following scenario :

  1. Checkout branch "A" from master. Make some changes, e.g. create a new post.
  2. Checkout branch "B" from master. Make some changes, e.g. create a new post.
  3. Merge branch "A" into master.
  4. Merge branch "B" into master. (Here we have a conflict)

I found that version press uses custom driver to perform the merge which is located in wp-content/plugins/versionpress/src/Git/merge-drivers/ini-merge.sh.

There are 2 types of conflicts I have:

  1. Is with some kind of timestemp issue in wp-content/vpdb/options/WP/wpe_notices_ttl.ini.
    This file content is:
    [wpe_notices_ttl]
    option_value = "1564924045"
    autoload = "yes"

The conflict is in option_value row.
Can I add this file to .gitignore or I should always take bigger number? What is the right way to treat this conflict?
Does anybody knows what is the meaning of this number?

  1. Second and more serious issue, on my opinion. is the conflict in for example wp-content/vpdb/users/FE/FED43885FC2742899CEF3E7770C05382.ini file.
    It has a row like:
    <<table-prefix>>yoast_notifications#F9E27E55AA4A4A00BCD76EED152E4FEA[0]["message"] = "Yoast SEO and Advanced Custom Fields can work together a lot better by adding a helper plugin. Please install <a href=\"http://MYIP:PORT/wp-admin/update.php?action=install-plugin&plugin=acf-content-analysis-for-yoast-seo&_wpnonce=SOME_CODE\">ACF Content Analysis for Yoast SEO</a> to make your life better. <a href=\"https://wordpress.org/plugins/acf-content-analysis-for-yoast-seo/\" aria-label=\"More information about ACF Content Analysis for Yoast SEO\" target=\"_blank\" rel=\"noopener noreferrer\">More information</a>."

The conflicted change is in MYIP and in SOME_CODE what should I do with these?

Any help is really appreciated.

nonsense2596
@nonsense2596
Hello!
I'm reading the WP-CLI Commands manual page right now.
I set up versionpress on my desktop, and pushed the repository into github.
Now I'm trying to restore it from git to my notebook.
I set up a xampp environment, do I get the following right:
1) I git clone the repository into the desired folder (e.g. C:\xampp\htdocs\mylittlesite)
2) create a table for wordpress in the database
2) from wp-cli, I run "wp core config --dbname=x --dbuser=y"
3) copy a freshly downloaded versionpress into the plugins folder
4) "wp vp restore-site --require=wp-content/plugins/versionpress/src/Cli/vp.php --siteurl='http://localhost/thefolder_i_cloned_to_from_git_and_hasversionpress_inthe_pluginsFolder'
5) and after that it should be working?
Brian Davis
@kbdavis07
Hi
How to set Git Path in wp-config.php file?
image.png
I am trying to follow the directions here https://docs.versionpress.net/en/getting-started/configuration/
Brian Davis
@kbdavis07
I have this
define('VP_GIT_BINARY','D:/Program Files/Git/git.exe');
But so far not taking
image.png
Brian Davis
@kbdavis07
I moved it to
define('VP_GIT_BINARY', 'D:\Program Files\Git\bin\git.exe');
wp-config.common.php
image.png
image.png
Brian Davis
@kbdavis07
image.png
Brian Davis
@kbdavis07

.

.

Think I got it now.
wp-config.common.php
define('VP_GIT_BINARY','D:\Program Files\Git\bin\git.exe');
Then have
Brian Davis
@kbdavis07
Seems like for some reason this was not being added to the config file
include_once __DIR__ . '/wp-config.common.php';
after everything seems to be running now notice it was also injected in it.
Also deleted a previous version of the git folder .git' as it was under repo before.
Not sure if that was the issue or not?
candrews @candrews is starting to wonder if VersionPress is a dead project...
Felix Bertram
@fbertram
Hello everybody. First of all, thanks a lot for providing VersionPress, this is a great project. I am just starting to set up a site with it. No, of course, I am looking for plugin integrations. I understand that this is a ton of work and that you are hoping for the community to help with this. One thing that I am missing though is links from your page to those community integrations that might already be out there. All I found is this: https://github.com/mkreckovic - are there more?
Borek Bernard
@borekb
hi @fbertram, I think there are not that many out there yet, those from @mkreckovic being the main ones.
Felix Bertram
@fbertram
Thanks Borek!