Skip to content

Commit

Permalink
Merge branch 'develop' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpaul committed Aug 28, 2024
2 parents 4b6047f + 75610d5 commit 252cdd6
Show file tree
Hide file tree
Showing 15 changed files with 267 additions and 139 deletions.
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
name: No Response
name: 'Close stale issues'

# **What it does**: Closes issues where the original author doesn't respond to a request for information.
# **Why we have it**: To remove the need for maintainers to remember to check back on issues periodically to see if contributors have responded.
# **Who does it impact**: Everyone that works on docs or docs-internal.

on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the hour, every hour
- cron: '5 * * * *'
# Schedule for every day at 1:30am UTC
- cron: '30 1 * * *'

permissions:
issues: write

jobs:
noResponse:
stale:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/[email protected]
- uses: actions/stale@v9
with:
token: ${{ github.token }}
daysUntilClose: 14 # Number of days of inactivity before an Issue is closed for lack of response
responseRequiredLabel: "needs:feedback" # Label indicating that a response from the original author is required
closeComment: >
days-before-stale: 7
days-before-close: 7
stale-issue-message: >
It has been 7 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 7 days, but if you have more information to add then please comment and the issue will stay open.
close-issue-message: >
This issue has been automatically closed because there has been no response
to our request for more information. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further. See [this blog post on bug reports and the
importance of repro steps](https://www.lee-dohm.com/2015/01/04/writing-good-bug-reports/)
for more information about the kind of information that may be helpful.
stale-issue-label: 'stale'
close-issue-reason: 'not_planned'
any-of-labels: 'needs:feedback'
remove-stale-when-updated: true

38 changes: 38 additions & 0 deletions .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"landingPage": "\/wp-admin\/post.php?post=7&action=edit",
"preferredVersions": {
"php": "7.4",
"wp": "latest"
},
"phpExtensionBundles": [
"kitchen-sink"
],
"features": {
"networking": true
},
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org\/plugins",
"slug": "embed-block-figma"
},
"options": {
"activate": true
}
},
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https:\/\/raw.githubusercontent.com\/10up\/embed-block-figma\/develop/.wordpress-org\/blueprints\/demo-data.xml"
}
}
]
}
77 changes: 77 additions & 0 deletions .wordpress-org/blueprints/demo-data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->

<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
<!-- 4. Activate & Run Importer. -->
<!-- 5. Upload this file using the form provided on that page. -->
<!-- 6. You will first be asked to map the authors in this export file to users -->
<!-- on the site. For each author, you may choose to map to an -->
<!-- existing user on the site or to create a new user. -->
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
<!-- contained in this file into your site. -->

<!-- generator="WordPress/6.6.1" created="2024-08-20 17:24" -->
<rss version="2.0"
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:wp="http://wordpress.org/export/1.2/"
>

<channel>
<title>My WordPress Website</title>
<link>https://playground.wordpress.net/scope:0.1624312760462985</link>
<description></description>
<pubDate>Tue, 20 Aug 2024 17:24:18 +0000</pubDate>
<language>en-US</language>
<wp:wxr_version>1.2</wp:wxr_version>
<wp:base_site_url>https://playground.wordpress.net/scope:0.1624312760462985</wp:base_site_url>
<wp:base_blog_url>https://playground.wordpress.net/scope:0.1624312760462985</wp:base_blog_url>

<wp:author><wp:author_id>1</wp:author_id><wp:author_login><![CDATA[admin]]></wp:author_login><wp:author_email><![CDATA[[email protected]]]></wp:author_email><wp:author_display_name><![CDATA[admin]]></wp:author_display_name><wp:author_first_name><![CDATA[]]></wp:author_first_name><wp:author_last_name><![CDATA[]]></wp:author_last_name></wp:author>


<generator>https://wordpress.org/?v=6.6.1</generator>

<item>
<title><![CDATA[Embed Block Figma]]></title>
<link>https://playground.wordpress.net/scope:0.1624312760462985/?page_id=7</link>
<pubDate>Tue, 20 Aug 2024 17:20:57 +0000</pubDate>
<dc:creator><![CDATA[admin]]></dc:creator>
<guid isPermaLink="false">https://playground.wordpress.net/scope:0.1624312760462985/?page_id=7</guid>
<description></description>
<content:encoded><![CDATA[<!-- wp:embed {"url":"https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-Filesss","type":"rich","providerNameSlug":"figma","responsive":true,"className":"wp-embed-aspect-4-3 wp-has-aspect-ratio"} -->
<figure class="wp-block-embed is-type-rich is-provider-figma wp-block-embed-figma wp-embed-aspect-4-3 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-Filesss
</div></figure>
<!-- /wp:embed -->]]></content:encoded>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<wp:post_id>7</wp:post_id>
<wp:post_date><![CDATA[2024-08-20 17:20:57]]></wp:post_date>
<wp:post_date_gmt><![CDATA[2024-08-20 17:20:57]]></wp:post_date_gmt>
<wp:post_modified><![CDATA[2024-08-20 17:20:57]]></wp:post_modified>
<wp:post_modified_gmt><![CDATA[2024-08-20 17:20:57]]></wp:post_modified_gmt>
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
<wp:post_name><![CDATA[embed-block-figma]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order>0</wp:menu_order>
<wp:post_type><![CDATA[page]]></wp:post_type>
<wp:post_password><![CDATA[]]></wp:post_password>
<wp:is_sticky>0</wp:is_sticky>
<wp:postmeta>
<wp:meta_key><![CDATA[_oembed_bb3020d56c85e9704e3fbe26936cfbc6]]></wp:meta_key>
<wp:meta_value><![CDATA[{{unknown}}]]></wp:meta_value>
</wp:postmeta>
</item>
</channel>
</rss>

25 changes: 18 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,31 @@ All notable changes to this project will be documented in this file, per [the Ke

## [Unreleased] - TBD

## [0.3.0] - 2024-08-29
### Added
- WordPress.org Playground preview (props [@thrijith](https://github.com/thrijith), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#29](https://github.com/10up/embed-block-figma/pull/29)).

### Changed
- Updated plugin name from "Figma Block" to "Embed Block for Figma" (props [@thrijith](https://github.com/thrijith), [@dkotter](https://github.com/dkotter), [@jeffpaul](https://github.com/jeffpaul) via [#28](https://github.com/10up/embed-block-figma/pull/28), [#31](https://github.com/10up/embed-block-figma/pull/31)).

### Security
- Bump `webpack` from 5.90.3 to 5.94.0 (props [@dependabot](https://github.com/apps/dependabot), [@dkotter](https://github.com/dkotter) via [#30](https://github.com/10up/embed-block-figma/pull/30)).

## [0.2.0] - 2024-07-11
**Initial public plugin release. 🎉**

### Changed
- Bump WordPress "tested up to" version 6.6 (props [@psorensen](https://github.com/psorensen), [@jeffpaul](https://github.com/jeffpaul) via [#21](https://github.com/10up/figma-block/pull/21)).
- Updated documentation (props [@jeffpaul](https://github.com/jeffpaul) via [#17](https://github.com/10up/figma-block/pull/17)).
- Bump WordPress "tested up to" version 6.6 (props [@psorensen](https://github.com/psorensen), [@jeffpaul](https://github.com/jeffpaul) via [#21](https://github.com/10up/embed-block-figma/pull/21)).
- Updated documentation (props [@jeffpaul](https://github.com/jeffpaul) via [#17](https://github.com/10up/embed-block-figma/pull/17)).

### Security
- Bump `braces` from 3.0.2 to 3.0.3 (props [@dependabot](https://github.com/apps/dependabot), [@psorensen](https://github.com/psorensen) via [#15](https://github.com/10up/figma-block/pull/15)).
- Bump `ws` from 7.5.9 to 7.5.10 (props [@dependabot](https://github.com/apps/dependabot), [@psorensen](https://github.com/psorensen) via [#15](https://github.com/10up/figma-block/pull/15)).
- Bump `braces` from 3.0.2 to 3.0.3 (props [@dependabot](https://github.com/apps/dependabot), [@psorensen](https://github.com/psorensen) via [#15](https://github.com/10up/embed-block-figma/pull/15)).
- Bump `ws` from 7.5.9 to 7.5.10 (props [@dependabot](https://github.com/apps/dependabot), [@psorensen](https://github.com/psorensen) via [#15](https://github.com/10up/embed-block-figma/pull/15)).

## [0.1.0] - 2024-06-25
- Initial private plugin release.

[Unreleased]: https://github.com/10up/figma-block/compare/trunk...develop
[0.2.0]: https://github.com/10up/figma-block/compare/0.1.0...0.2.0
[0.1.0]: https://github.com/10up/figma-block/tree/v0.1.0
[Unreleased]: https://github.com/10up/embed-block-figma/compare/trunk...develop
[0.3.0]: https://github.com/10up/embed-block-figma/compare/0.2.0...0.3.0
[0.2.0]: https://github.com/10up/embed-block-figma/compare/0.1.0...0.2.0
[0.1.0]: https://github.com/10up/embed-block-figma/tree/v0.1.0
20 changes: 10 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ The following is a set of guidelines for contributors as well as information and

## Ways to contribute

Contributing isn't just writing code - it's anything that improves the project. All contributions for Block Catalog are managed right here on GitHub. Here are some ways you can help:
Contributing isn't just writing code - it's anything that improves the project. All contributions for Embed Block for Figma are managed right here on GitHub. Here are some ways you can help:

### Reporting bugs

If you're running into an issue with the plugin, please take a look through [existing issues](https://github.com/10up/figma-block/issues) and [open a new one](https://github.com/10up/figma-block/issues/new) if needed. If you're able, include steps to reproduce, environment information, and screenshots/screencasts as relevant.
If you're running into an issue with the plugin, please take a look through [existing issues](https://github.com/10up/embed-block-figma/issues) and [open a new one](https://github.com/10up/embed-block-figma/issues/new) if needed. If you're able, include steps to reproduce, environment information, and screenshots/screencasts as relevant.

### Suggesting enhancements

New features and enhancements are also managed via [issues](https://github.com/10up/figma-block/issues).
New features and enhancements are also managed via [issues](https://github.com/10up/embed-block-figma/issues).

### Pull requests

Expand All @@ -29,17 +29,17 @@ The `develop` branch is the development branch which means it contains the next
## Release instructions

1. Branch: Starting from `develop`, cut a release branch named `release/X.Y.Z` for your changes.
1. Version bump: Bump the version number in `figma-block.php`, `package-lock.json`, `package.json`, and `readme.txt` if it does not already reflect the version being released. In `figma-block.php` update both the plugin "Version:" property and the plugin `FIGMA_BLOCK_VERSION` constant.
1. Version bump: Bump the version number in `embed-block-figma.php`, `package-lock.json`, `package.json`, and `readme.txt` if it does not already reflect the version being released. In `embed-block-figma.php` update both the plugin "Version:" property and the plugin `FIGMA_BLOCK_VERSION` constant.
1. Changelog: Add/update the changelog in `CHANGELOG.md` and `readme.txt`.
1. Props: update `CREDITS.md` file with any new contributors, confirm maintainers are accurate.
1. New files: Check to be sure any new files/paths that are unnecessary in the production version are included in `.gitattributes`.
1. Readme updates: Make any other readme changes as necessary. `README.md` is geared toward GitHub and `readme.txt` contains WordPress.org-specific content. The two are slightly different.
1. Merge: Make a non-fast-forward merge from your release branch to `develop` (or merge the pull request), then do the same for `develop` into `trunk`, ensuring you pull the most recent changes into `develop` first (`git checkout develop && git pull origin develop && git checkout trunk && git merge --no-ff develop`). `trunk` contains the stable development version.
1. Push: Push your trunk branch to GitHub (e.g. `git push origin trunk`).
1. [Compare](https://github.com/10up/figma-block/compare/trunk...develop) `trunk` to `develop` to ensure no additional changes were missed.
1. Test the pre-release ZIP locally by [downloading](https://github.com/10up/figma-block/actions/workflows/build-release-zip.yml) it from the Build release zip action artifact and installing it locally. Ensure this zip has all the files we expect, that it installs and activates correctly and that all basic functionality is working.
1. Release: Create a [new release](https://github.com/10up/figma-block/releases/new), naming the tag and the release with the new version number, and targeting the `trunk` branch. Paste the changelog from `CHANGELOG.md` into the body of the release and include a link to the closed issues on the [milestone](https://github.com/10up/figma-block/milestone/#?closed=1).
1. SVN: Wait for the [GitHub Action](https://github.com/10up/figma-block/actions/workflows/wordpress-plugin-deploy.yml) to finish deploying to the WordPress.org repository. If all goes well, users with SVN commit access for that plugin will receive an emailed diff of changes.
1. Check WordPress.org: Ensure that the changes are live on [WordPress.org](https://wordpress.org/plugins/figma-block/). This may take a few minutes.
1. Close milestone: Edit the [milestone](https://github.com/10up/figma-block/milestone/#) with release date (in the `Due date (optional)` field) and link to GitHub release (in the `Description field`), then close the milestone.
1. [Compare](https://github.com/10up/embed-block-figma/compare/trunk...develop) `trunk` to `develop` to ensure no additional changes were missed.
1. Test the pre-release ZIP locally by [downloading](https://github.com/10up/embed-block-figma/actions/workflows/build-release-zip.yml) it from the Build release zip action artifact and installing it locally. Ensure this zip has all the files we expect, that it installs and activates correctly and that all basic functionality is working.
1. Release: Create a [new release](https://github.com/10up/embed-block-figma/releases/new), naming the tag and the release with the new version number, and targeting the `trunk` branch. Paste the changelog from `CHANGELOG.md` into the body of the release and include a link to the closed issues on the [milestone](https://github.com/10up/embed-block-figma/milestone/#?closed=1).
1. SVN: Wait for the [GitHub Action](https://github.com/10up/embed-block-figma/actions/workflows/wordpress-plugin-deploy.yml) to finish deploying to the WordPress.org repository. If all goes well, users with SVN commit access for that plugin will receive an emailed diff of changes.
1. Check WordPress.org: Ensure that the changes are live on [WordPress.org](https://wordpress.org/plugins/embed-block-figma/). This may take a few minutes.
1. Close milestone: Edit the [milestone](https://github.com/10up/embed-block-figma/milestone/#) with release date (in the `Due date (optional)` field) and link to GitHub release (in the `Description field`), then close the milestone.
1. Punt incomplete items: If any open issues or PRs which were milestoned for `X.Y.Z` do not make it into the release, update their milestone to `X.Y.Z+1`, `X.Y+1.0`, `X+1.0.0` or `Future Release`.
2 changes: 1 addition & 1 deletion CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The following individuals are responsible for curating the list of issues, respo

Thank you to all the people who have already contributed to this repository via bug reports, code, design, ideas, project management, translation, testing, etc.

[Darin Kotter (@dkotter)](https://github.com/dkotter), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Faisal Alvi (@faisal-alvi)](https://github.com/faisal-alvi), [Konstantinos Galanakis (@kmgalanakis)](https://github.com/kmgalanakis), [Ankit Gupta (@ankitguptaindia)](https://github.com/ankitguptaindia), [Fabian Kägy (@fabiankaegy)](https://github.com/fabiankaegy), [Zubair Bhatti](https://www.linkedin.com/in/zbhatti89/), [Peter Sorensen (@psorensen)](https://github.com/psorensen).
[Darin Kotter (@dkotter)](https://github.com/dkotter), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Faisal Alvi (@faisal-alvi)](https://github.com/faisal-alvi), [Konstantinos Galanakis (@kmgalanakis)](https://github.com/kmgalanakis), [Ankit Gupta (@ankitguptaindia)](https://github.com/ankitguptaindia), [Fabian Kägy (@fabiankaegy)](https://github.com/fabiankaegy), [Zubair Bhatti](https://www.linkedin.com/in/zbhatti89/), [Peter Sorensen (@psorensen)](https://github.com/psorensen), [Thrijith Thankachan (@thrijith)](https://github.com/thrijith).

## Libraries

Expand Down
Loading

0 comments on commit 252cdd6

Please sign in to comment.