WordPress / developer-blog-content

In this GitHub space, WordPress team coordinate content to be published on the Developer Blog. Discussion and montly meetings (first Thu) in WP Slack #core-dev-blog
38 stars 4 forks source link

Process and rules to add example code into Learn WordPress repo #133

Open bph opened 1 year ago

bph commented 1 year ago

Example code, that is not just added to the blog post, example themes and plugins can now housed in a separate GitHub repo on the Learn WordPress GitHub organizations.

We would need to come up with the process and some ground rules on how repos are created, updated and maintained.

bph commented 1 year ago

Discussion is happening here:

justintadlock commented 1 year ago

Jotting down some rough thoughts (or, as I call it, thinking out loud):

Generally speaking, I don't think code needs to be updated unless the code in the associated post is updated.

I mostly view posts as a static point in time, and some posts will naturally no longer be relevant in the future. I'd rather writers not be too worried about maintaining repositories on something they've written a year or two ago.

I also don't want to put the burden on the editorial group to maintain code in repos that they may not be familiar with.


One thing to consider is plugins/themes with a package.json file. Eventually, the package dependencies may become outdated.

There's also a chance that if someone updates the dependencies that specific code needs to be updated (e.g., use within a webpack.config.js file).

bph commented 1 year ago

Good notes, @justintadlock

I added you to the organization as a member. Video: https://recordit.co/CZIEc8Dolh

Q: Should be create a team for Dev Blog so we can identify the contributors and repos belonging to the Developer Blog space?

bph commented 1 year ago

Notification email of Justin's transfer of the code for

Screenshot 2023-08-03 at 09 15 15