wordpress 版本

tech2023-01-12  118

wordpress 版本

While many WordPress developers use version control as part of their workflow (for example, Mark Jaquith’s WordPress Skeleton is extremely popular), there is still a gap when it comes to easy collaboration and version control for an entire WordPress project. Particularly in relation to database changes. Plugins such as WP Migrate DB Pro from Delicious Brains and the awesome WP-CLI command line tools go a long way in filling that gap, but the challenge of complete WordPress version control for the masses still remains unanswered.

尽管许多WordPress开发人员将版本控制用作其工作流的一部分(例如,马克·贾奎斯(Mark Jaquith)的WordPress Skeleton非常受欢迎),但在整个WordPress项目的轻松协作和版本控制方面仍然存在差距。 特别是在数据库更改方面。 诸如Delicious Deliciouss的WP Migrate DB Pro之类的插件和令人敬畏的WP-CLI命令行工具在填补这一空白方面还有很长的路要走,但仍无法解决对群众进行完整WordPress版本控制的挑战。

That was until an innovative project called VersionPress came along. VersionPress is a WordPress Plugin that will keep track of every change, completely version controlled using Git.

直到一个名为VersionPress的创新项目问世。 VersionPress是一个WordPress插件,可以跟踪所有更改,使用Git完全控制版本。

Currently under development, the VersionPress plugin builds upon Git’s version control system. VersionPress will be able to store an entire WordPress website, database and all, completely version controlled in Git. The plugin is being developed by Borek Bernard (Founder) and Jan Voráček and, once launched, will be licensed under the GNU General Public License.

目前正在开发中的VersionPress插件基于Git的版本控制系统构建。 VersionPress将能够在Git中存储整个WordPress网站,数据库以及所有完全由版本控制的版本。 该插件由Borek Bernard(创始人)和JanVoráček开发,一旦发布,将获得GNU通用公共许可证的许可 。

According to VersionPress.net:

根据VersionPress.net:

VersionPress is a version control plugin for WordPress. It keeps the whole site, both files and the database, in Git enabling things like site-wide reverts, safe updates, easy staging.

VersionPress是WordPress的版本控制插件。 它将整个站点(包括文件和数据库)都保留在Git中,从而实现了站点范围内的还原,安全更新,易于升级等功能。

The core features of VersionPress include:

VersionPress的核心功能包括:

Creation of a backup after every logical change

每次逻辑更改后创建备份 Restoration of any historical version of the project from the archive

从档案库恢复项目的任何历史版本 The ability to make changes selectively, without affecting new changes

有选择地进行更改而不影响新更改的能力 The ability to enable multiple users to work simultaneously on the same project

使多个用户可以同时在同一个项目上工作的能力 A testing environment where there is a two-way sync between the testing environment and the live site

在测试环境中,测试环境与活动站点之间存在双向同步 A space-efficient repository that integrates effectively with third party tools

节省空间的存储库,可与第三方工具有效集成

I was fortunate enough to watch a demonstration of VersionPress by Borek Bernard. My first impression: VersionPress will be a ground-breaking plugin for all developers.

我很幸运地观看了Borek Bernard的VersionPress的演示。 我的第一印象:VersionPress将是所有开发人员的突破性插件。

In addition to the demo, I had the opportunity to ask Borek a few questions about his project.

除了演示,我还有机会向Borek询问有关他的项目的几个问题。

Chris: Where did the idea for VersionPress come from?

克里斯: VersionPress的想法从何而来?

Borek: As a software developer, I use version control systems for just about every project I do. They are really useful – when anything goes wrong, there is always an easy way to get back to a working version. That’s why I’ve always found WordPress projects to be a little bit difficult – they are often serious software projects too but it’s hard to do proper versioning for them. It’s because half of the truth is in the files and half of it is in the database. So with my colleague, we started looking for ways to unite those two worlds and version everything in a single Git repository. The result is VersionPress.

Borek:作为软件开发人员,我几乎对我所做的每个项目都使用版本控制系统。 它们非常有用–发生任何问题时,总有一种简单的方法可以恢复到正常工作的版本。 这就是为什么我总是发现WordPress项目有点困难的原因-它们通常也是严肃的软件项目,但是很难为它们进行适当的版本控制。 这是因为事实的一半在文件中,而一半在数据库中。 因此,与我的同事一起,我们开始寻找将这两个世界结合在一起并在单个Git存储库中对所有版本进行版本化的方法。 结果是VersionPress。

Chris: For developers already using Git in their workflow, how will they be able to benefit from using VersionPress?

克里斯:对于已经在其工作流程中使用Git的开发人员,他们将如何从使用VersionPress中受益?

Borek: I have seen many developers using Git to version control the files part of a WordPress site, which is certainly useful on its own and I have personally used that approach for a long time. However, I haven’t seen many developers doing full-site versioning in Git, including database. That is something quite unique about VersionPress, and while I don’t say that there aren’t solutions or workflows to achieve similar results, I haven’t seen a solution that combines proper version control with user friendliness in the way that VersionPress does.

Borek:我已经看到许多开发人员使用Git对WordPress网站的文件部分进行版本控制,这本身就非常有用,而且我个人使用这种方法已有很长时间了。 但是,我还没有看到很多开发人员在Git中进行全站点版本控制,包括数据库。 这对于VersionPress来说是非常独特的,虽然我没有说没有解决方案或工作流可以达到类似的结果,但是我还没有看到一种能够像VersionPress那样将适当的版本控制与用户友好性相结合的解决方案。

Chris: VersionPress has certainly attracted interest and your project was recently discussed on Hacker News, how can the WordPress community get behind this and contribute to fast track development?

克里斯: VersionPress确实吸引了人们的兴趣,最近在Hacker News上讨论了您的项目,WordPress社区如何才能支持这一工作并为快速开发做出贡献?

Borek: Yes, the initial response has been overwhelming and we are humbled by that. But it is also a very young project and we know the goal is quite ambitious. That’s why we’re currently running a campaign at versionpress.net to crowdfund the initial development and I’d like to ask everyone who likes the idea of VersionPress to consider supporting it. We can’t make it without the support of the community and any help will be greatly appreciated.

Borek:是的,最初的React是压倒性的,对此我们感到沮丧。 但这也是一个非常年轻的项目,我们知道目标非常雄心勃勃。 这就是为什么我们目前在versionpress.net上运行一个活动以众筹初始开发资金的原因,我想请每个喜欢VersionPress想法的人考虑支持它。 没有社区的支持,我们无法做到这一点,我们将不胜感激。

Chris: How can readers keep up to date and find out more about VersionPress?

克里斯:读者如何才能了解最新信息并了解有关VersionPress的更多信息?

Borek: We have a Twitter account at @versionpress and publish the announcements and other things at our blog versionpress.wordpress.com.

Borek:我们在@versionpress上有一个Twitter帐户,并在我们的博客versionpress.wordpress.com上发布了公告和其他内容。

So there you have it, certainly an interesting project to watch in the WordPress space. After learning more about the project I decided I’d get in early and back it (contributions start from as little as $5). I do wish the team every success with hitting their target soon and I really hope we do see this plugin in the near future! If all goes to plan, it should be available later this year.

因此,有了它,在WordPress领域肯定是一个有趣的项目。 在了解了有关该项目的更多信息之后,我决定早日投入并投入使用(捐款起价仅为5美元)。 我希望团队能尽快成功实现目标,并希望在不久的将来能看到这个插件! 如果一切都按计划进行,它将在今年晚些时候上市。

翻译自: https://www.sitepoint.com/versionpress-version-control-comes-to-wordpress/

wordpress 版本

最新回复(0)