The WordPress Plugin Directory is the first place many users go when looking for plugins for their WordPress website. This has lots of benefits for you as a developer. If you have created a WordPress plugin that you think would be useful to others, then you should consider adding it to the official WordPress Plugin Directory. Why Add Your Plugin to the WordPress Plugin Directory? In this article, we will discuss the benefits of adding your plugin to the WordPress Plugin Directory along with a step by step guide on how to add your plugin to the repository. For an in-depth understanding, we recommend to read Paul Burba’s article.Would you like to add a plugin you created to the WordPress Plugin Directory?Ĭontributing useful plugins to the directory is just one of the ways you can give back to the WordPress community. In either way, you should be aware that changing respesctively deleting subtree mergeinfo possibly affects Subversion’s merge tracking and hence should be performed with caution. If subtree mergeinfo had been introduced to a couple of files by accident and these subtree merges for these files didn’t occur frequently, it will usually be no problem to resolve conflict later (if any at all occur). The easy way: you may not pay attention to what subtree mergeinfo has been removed and risk unexpected conflicts on later merges. In this case, you may simply Revert your changes to restore the svn:mergeinfo properties. When you are actually faced with this situation, this indicates that subtree merges have been performed by intention and maybe subtree mergeinfo should be kept for the corresponding entry. To get this correct, it may also be necessary to actually merge all other changes outside of the subtree for the record-only revisions. Unfortunately, this requires further investigation and you will have to decide whether to record-only merge certain revisions to your root, so these subtree-merges will be tracked in the root’s svn:mergeinfo, too. If revision changes are significant, this indicates that many subtree merges had been performed on the file or directory. Manually compare this to the svn:mergeinfo of your root (which should still be present). The hard one: use Properties|Edit to find out which svn:mergeinfo every modified file or directory had before. Once finished, all files and sub-directories which previously had svn:mergeinfo attached will show up as modified. Use Properties|Set or Delete Property on your trunk or branch root directory, select svn:mergeinfo, select Delete Property, keep Depth set to Fully recursive and unselect Include this directory If subtree merges have happened by accident, there is following receipt to fix this situation:īe sure to have a clean working copy and update to HEAD. If you still need subtree merges, you unfortunately have to take these svn:mergeinfo inconveniences into account. This is the reason, why it’s not recommended to perform subtree merges at all. This is how troubles start: once introduced, it will remain and will be updated with every new merge, even when performed only on the root directory. When performing a merge on a sub-directory, or even a single file, svn:mergeinfo will be introduced on these entries as well. Usually, merges should only performed on the trunk or branch root directory and hence svn:mergeinfo is also present only on the corresponding root directories. Svn:mergeinfo is a Subversion-internal property which stores important information used for merge-tracking. Why does that happen and how can this be resolved? Usually, these are modifications only in the svn:mergeinfo property of the respective entries. When merging, a common source of confusion are property-only modifications of various files and/or directories which have not actually been affected by the merged commits.
0 Comments
Leave a Reply. |