Tortoise SVN showing 'Access to '/!svn/me'' forbidden error.

I recently want to commit a change to my WordPress plugin repo but it has been showing 'Access to '/!svn/me' forbidden' error whenever I wanted to commit any changes. Some articles have adviced me to check if my username and password are correct but it seems not to be the right solution because my login credentials are actually correct. Please, has anyone faced this issue before or is there an alternative to TortoiseSVN that I can use? Thank you!
Category: Web

Woocommerce plugin - How to create two versions of the same plugin with slightly different implementation for different users

I am working on the development of a woocommerce plugin and this plugin is shipped to 2 different set of customers. I'd like to manage both of those versions in one git repository. But then ship to each customer their version (I send them a zipped folder of the plugin). Issue: It is a hassle to maintain two versions on two separate git branches and there is no complier for example to apply certain changes based on which version of …
Category: Web

Is it a good idea to make Wordpress theme repository public?

I have my custom Wordpress+Woocommerce theme created that I want to show on my github page as a reference. The theme does not contain any login data. Of course it contains server-side php code that shows how the client page is created. I always tried to structure the logic according to other themes/according to how code inside Woocommerce plugin works. Is there a security danger for the site when making the theme source public?
Category: Web

Wordpress with Git

I am asking this question because I searched on internet but cannot find right solution. Actually I want a solution in which multiple developers can work on single wordpress project without creating any mess into each other works, but as we know that in wordpress every thing is maintained in database like which plugin is active and which is not. If developers install plugins to their local project than how they communicate with each other that every one should install …
Topic: git Wordpress
Category: Web

Keeping WP database synced across multiple developers using git

I'm working on improving my git workflow as it applies to my WordPress development projects. Often, when developing a content management system, I'll create a development server (like http://dev.finalsitename.com) containing the custom post types and taxonomies that will be used in the production version. This allows my client to begin adding their content to the site. While they are working on this task, I'm usually building out the look and feel as well as the custom programming/plugins that will be …
Category: Web

Enable automatic minor core updates when root of site is a git repository

I have a client site that's under version control using Git. The single repository is at the Wordpress root level, but it is set to ignore everything except for theme and plugin files. I did some research into best practices and found some content on submodules, which I might try next time, but at the moment, I'm wondering if there's a way to achieve both of the following: Keep the Git repository structured as is at the WordPress root but …
Category: Web

Provide logo in theme

I'm doing some small updates to a WordPress site which is managed as a git repository. The deployment process goes something like, commit to git, push to git repo, ssh to the instance, do a git pull. Now how can I update the site logo? The theme header is using the_custom_logo() and so from what I can tell this file has to be uploaded. The site and git repo already has a bunch of things in wp-content/uploads which is where …
Category: Web

Wordpress and Git - What folders should I track?

I am configuring Git along with my WP development environment, and I was wondering what should be tracked and what should be ignored. If it makes sense to track plugins and for WP core. Create one repo for both theme & plugins? Common sense would suggest that tracking WP as a whole, is overkill and unuseful, as I am not involved in core development and updates; of course, I want to track my theme/child-theme folder where my work is. Plugins? …
Category: Web

SSH git — How to pull a folder from repo, but not delete other directories & files on deployment server

I'm at a point in my git education where I've refined my .gitignore file such that when I push from my local development machine to a remote repository (which happens to be on Azure, but it could just as easily be on github), the folders and files in the repo are precisely how I want them to be. That is: wp-content/plugins/my-custom-plugins wp-content/themes/my-custom-theme ...and that's basically it. I don't want the wp-config in the mix, or any of the stock WP …
Topic: ssh git Wordpress
Category: Web

Wordpres core-update theme renames theme folder name

I've got a theme that checks for a new version on GitHub. When it finds a new version it downloads it and install it. The problem is that it installs the theme with a different folder name than previous. Resulting errors. I call the updater with hook pre_set_site_transient_update_themes In it I check the GitHub api with: https://api.github.com/repos/my-name/my-repo/releases/latest I set the update package variable with https://api.github.com/repos/my-name/my-repo/zipball/0.1.0 Where 0.1.0 is the latest version. So if I install a theme manually the theme …
Category: Web

When I try to install VersionPress, it tells me, "The package could not be installed. No valid plugins were found."

I'm trying VersionPress for the first time. I downloaded the project from the VersionPress GitHub page, then went to Plugins>Add New in my dashboard and uploaded the zip file "versionpress-master.zip" and click the install button. Then, when the project starts loading, it takes me to a screen that reads: Installing Plugin from uploaded file: versionpress-master.zip Unpacking the package… Installing the plugin… The package could not be installed. No valid plugins were found. Plugin installation failed. Am I doing something wrong? …
Category: Web

Plugin updated pushed with git break site

I'm having some trouble updating the plugins on a wordpress website. It's all my fault for waiting too long to update them, and now pushing the updates with git breaks the site (the development site is ok, only the staging site that I've pushed to breaks). I tried updating everything manually, and will composer, but both methods don't last - the plugins revert back to their previous version with subsequent git pushes. Is there any way to update these plugins …
Category: Web

Display GitLab repositories of the logged in user on a page

I am new at wordpress and i am create a website with all my details and accomplishments. I want to display all my GitLab repository names and links as a list on a page (not as a menu or widget). I have already created a public access token. to be used for API.
Topic: git Wordpress
Category: Web

Git Workflow for Large, Live Site?

The Wordpress site I am working on has thousands of posts, is updated hourly, and has dozens of plugins and hacks to get it to work in the way it does. Can someone explain a git workflow that would allow the following? Essentially, I want to take everything that is currently there — all Wordpress files, posts, plugins, etc. – and work on it locally. This would include, I presume, copying the database and running it locally. (I am aware …
Category: Web

How do i define the location of a git push to WP Engine

Ive been using Gits version control system for local theme development on a Wordpress site. I decided to take advantage of WPEngine's git capabilities which has caused more frustration than not. I am able to push, and I have my remotes set properly but I cannot for the life of me figure out how to define where the git repository goes. My goal is to push the repository into the themes directory so any changes I make locally once pushed …
Category: Web

Is there an actual way to synchronize 'production' and 'develop' WordPress databases?

I work with WordPress and I work with git. My code is versioned and I am happy with the workflow. What bugs me is database synchronization. I need to work with cloned database on my local development environment so I can easily alter any settings, publish new stuff, etc. In the meantime (say two weeks) when my work is done, I want to push all changes to the production. Git handles the files, but the database is a huge problem... …
Category: Web

WordPress Health Tool reporting version control as a critical issue

I use git to deploy my production site, and as a result, the sites Health tool is reporting a critical issue due to the auto-updates not working when a site is under version control. To be honest, it wouldn't be an issue to allow auto-updates, and just periodically commit the production changes. Is there a way of just forcing them and solving/suppressing this 'critical issue'?
Category: Web

Syncing local content with development / staging sites

I come from a Laravel background which means I am used to using database migrations and seedings to keep content on dev / staging sites in sync with my local environment. I'm starting my first project in WordPress and was wondering how to go about doing the same. Essentially I'm building the site on my local environment and through the use of plugins such as Advanced Custom Fields I will create the content for the site. I need an easy …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.