pronamic / pronamic-cli Goto Github PK
View Code? Open in Web Editor NEWPronamic CLI is the command-line interface for Pronamic.
Pronamic CLI is the command-line interface for Pronamic.
I stumbled upon this error today:
Warning: Array to string conversion in /vendor/pronamic/pronamic-cli/src/VersionCommand.php on line 356
pronamic-cli/src/VersionCommand.php
Lines 347 to 357 in f3ade4d
pronamic-cli/src/VersionCommand.php
Lines 1066 to 1072 in f3ade4d
As for your changelog, we recommend keeping the current release in the readme and splitting the rest out out into itβs own file β
changelog.txt
for example. By storing all the older changelog data there, you keep your readme small and allow the people who get really into long changelogs to read things on their own.
https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/
https://plugins.trac.wordpress.org/browser/akismet/trunk/readme.txt
It would be handy to display a link to for example at this point.
https://github.com/pronamic/wp-datetime/tags
Users can verify the tags on GitHub.
git status
or git status --short
)git log
information.gh pr list
).gh issue list
).npm version
gh release create <tag> --draft --generate-notes
vendor/pronamic/repository/CHANGELOG.md
version entry.dev-
requirements in composer.json
?composer outdated
or composer outdated --direct
for outdated packages?vendor/bin/wp-deployer
to vendor/bin/pronamic-deployer
for branding?PHP Warning: Undefined variable $changelog_entry in /Users/remco/Projects/easycruit/vendor/pronamic/wp-deployer/src/VersionCommand.php on line 602
Warning: Undefined variable $changelog_entry in /Users/remco/Projects/easycruit/vendor/pronamic/wp-deployer/src/VersionCommand.php on line 602
PHP Warning: Attempt to read property "body" on null in /Users/remco/Projects/easycruit/vendor/pronamic/wp-deployer/src/VersionCommand.php on line 602
Warning: Attempt to read property "body" on null in /Users/remco/Projects/easycruit/vendor/pronamic/wp-deployer/src/VersionCommand.php on line 602
https://github.com/pronamic/wp-easycruit/releases/tag/v2.1.0
The process "vendor/bin/pronamic release-to-wp-org" exceeded the timeout of 300 seconds
The version
command does several things, but this is not immediately clear to users beforehand.
git pull
git status
)git branch --show-current
v
prefix.'preversion
composer.json
type
property.composer outdated
dev-*
)package.json
version
property*.php
filespatch
, minor
, major
)style.css
header versionStable tag
in readme.txt
headerversion
in package.json
version
git commit
)git tag
)git push
)postversion
pronamic-cli/src/WpBuildCommand.php
Lines 98 to 126 in 4228737
pronamic-cli/src/ReleaseCommand.php
Line 158 in 15cb5e7
pronamic-cli/src/ReleaseCommand.php
Line 198 in 15cb5e7
pronamic-cli/src/WpBuildCommand.php
Line 181 in 4228737
pronamic-cli/src/WpBuildCommand.php
Line 203 in 4228737
Currently we generate the release notes quite late in the version
command:
The
version
command does several things, but this is not immediately clear to users beforehand.
git pull
- Working tree status (
git status
)git branch --show-current
- Check tagnames without
v
prefix.'- Run Composer script
preversion
- Check
composer.json
type
property.- Check
composer outdated
- Check non-comparable Composer package versions (
dev-*
)- Check
package.json
version
property- Check WordPress plugin file headers from
*.php
files- Check multiple WordPress plugins in working directory
- Ask user for bump method (
patch
,minor
,major
)- Compose changelog
- Set plugin file header version
- Set theme
style.css
header version- Set
Stable tag
inreadme.txt
header- Set
version
inpackage.json
- Run Composer script
version
- Git commit changes (
git commit
)- Git tag (
git tag
)- Git push (
git push
)- Run Composer script
postversion
pronamic-cli/src/VersionCommand.php
Lines 319 to 393 in 33351cf
It would be more convenient if we could generate and display the changelog before the "Ask user for bump method". Based on the generated changelog, a user can more easily choose the desired bump method.
https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/#create-tags-from-trunk
If you use trunk properly, then we can easily compare your code changes without having to download two versions and running a tool.
Basically you should always:
- Push to trunk with OLD stable version listed.
- When code is good, update stable version and copy trunk to tag
- π»
https://wordpress.slack.com/archives/C1LBM36LC/p1680193618619809
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.