WordPress.org Profiles now show GitHub activity

From last Friday, WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ profiles have started to show activity from the WordPress GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ organization. This is shown when your WordPress.org & GitHub accounts are linked together. You can do this through your WordPress.org profile.

What’s tracked?

Currently we’re tracking New Issues submitted (by you), Closed Issues (by you), Pull requests submitted (by you), Pull requests merged (by you, and additionally the PR submitter gets a ‘PR Merged’ event), and finally Pushes to default branches.

There are a few limitations. We’re not currently accounting for PRs where commits are pushed to the PR by someone other than the submitter/merger. Similarly, if you push code from someone else then it may not be handled appropriately.

How’s it work? Where’s the code?

You’ll find the code over here: api.wordpress.org/dotorg/github/activity.php it’s configured as a webhook on the WordPress organization receiving push, pull_request, and issues events.

The code to display it on profiles.wordpress.org is unfortunately not yet open-sourced. It’s nothing overly special, but we realise this does limit the ability for submitting patches to that part of the code. MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. tickets detailing a requested change including the Text/CSSCSS CSS is an acronym for cascading style sheets. This is what controls the design or look and feel of a site. required will be prioritised.

Most repositories activity items will display the team logo, but if it’s not known it’ll default to the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. code logo. If you find activity on a repository is tracked with the incorrect logo, create a meta ticket in the Profiles component or comment below.

Why doesn’t it list my Issues & Pull Requests?

That might be expected. We only have data for Friday onwards cached on WordPress.org. Importing all previous issues and pull requests is possible, an importer simply just hasn’t been written yet.

If you haven’t linked your GitHub account to WordPress.org, it won’t show then either. Good News! Once you link your account, it’ll show up immediately for any data that we have.

Some people who linked their GitHub account when that feature was first launched have since had their account link expire. This has since been fixed – they no longer expire. So if you thought you had linked it, but find it now not-linked, that’s likely why.

Feedback

Are we showing too much information?

Should we combine events? For example; Today I submit a PR for review, later today I merge it, that’s two activity entries. Should it be merged together if within x hours? “Submitted & Merged PR #123 to WordPress/example-repo”

Are there any events you wish to see shown? Pull Request Reviews perhaps? Props for those who were commenters on the Issues/PRs?

#profiles #github +make.wordpress.org/core/

Talked with @coffee2code about Profiles today He’s going…

Talked with @coffee2code about Profiles today.

  • He’s going to deployDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. (and test, and fix any bugs) the profile/buddypress stuff that Mert did during GSoC. At this time only the back-end stuff is going to be deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors., no UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing. changes.
  • Scott is going to install/turn on the pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party(s) to pull Make posts and comments, tracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. comments, etc into the activity stream to make it more inclusive.
  • I’ll work with @melchoyce on new UI for profiles based on my conversation with Scott.
  • After the back end stuff is running smoothly, will work on launching UI improvement.

Later follow-up work/projects:

  • Bring activity from events (wordcamps, meetups, etc) into the stream.
  • Create one .org profile instead of 2 (bring in the support stuff).
  • Related: upgrade forums to current bbPressbbPress Free, open source software built on top of WordPress for easily creating forums on sites. https://bbpress.org. plugin (big standalone project, big implications, but will tie in)

#profiles

Profiles – Screencast

As you know, I’m worked on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my final update. My last task was to prepare screencast to briefly explain the new design and here it is!

It was a great summer and I would like to thank @boonebgorges, @coffee2code, @jenmylo and everyone who supported me throughout the summer with their comments and feedbacks!

Looking forward to the deployment of the new design!

See you later!

#gsoc, #profiles

Profiles – Weekly Update 13

As you know, I’m working on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my thirteenth weekly update regarding how things are going.

This past week, I fixed all the bugs @coffee2code reported and also wrote a pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party for WordPress to install on blogs under the make subdomain so that we can track the publishing activities on these blogs as well. You can see the plugin here: new-blog-post-notifier.php. Also, updated the documentation to reflect the addition.

This week, as you know, is the final week so I’ll be wrapping things up and preparing a screencast. Also, Jen will probably be providing us some feedback regarding the UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing./UXUX UX is an acronym for User Experience - the way the user uses the UI. Think ‘what they are doing’ and less about how they do it. of the new profile design.

See you next week!

#gsoc, #profiles, #weekly-update

Trac Notifications

A lot of people are confused about how to sign up to get notified of tracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. ticket activity. To help someone I just spent ten minutes looking around for good instructions (note: add to coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. contrib handbook in part about trac).

Is there any way to pre-fill the trac preferences tab for name and email with the information stored in the user’s wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ profile?

#notifications, #profiles, #trac

Profiles – Weekly Update 12

As you know, I’m working on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my twelfth weekly update regarding how things are going.

While Scott is working on deployingDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. the new profiles to .org, I decided to complete the next week’s task, which was:

September 9th – Any necessary documentation should be written by now.

You can see the documentation here. Thought it might come in handy for the maintainers of these plugins and installations on .org 🙂

See you next week!

#gsoc, #profiles, #weekly-update

Profiles – Weekly Update 11

Hi Everyone!

As you know, I’m working on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my eleventh weekly update regarding how things are going.

Scott is currently working on getting the new profiles integration with .org as soon as possible. I’ll be back with more once everything is ready on the .org end. Finally we’re getting there! 🙂

See you next week!

#gsoc, #profiles, #weekly-update

Profiles – Weekly Update 10

Hi Everyone!

As you know, I’m working on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my tenth weekly update regarding how things are going.

Unfortunately, we could not arrange a meeting with Jen to evaluate the first round of feedbacks and decide how to proceed UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing./UXUX UX is an acronym for User Experience - the way the user uses the UI. Think ‘what they are doing’ and less about how they do it.-wise. Since the task of deciding how to further shape the UI is pretty much the only big task left, Boone, Scott and me will be making some alternative plans. Scott will guide us regarding what needs to be done for the current code to be deployedDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. (testing, review etc.).

See you next week!

#gsoc, #profiles, #weekly-update

Profiles – Weekly Update 9

Hi Everyone!

As you know, I’m working on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my ninth weekly update regarding how things are going.

Once again, you can find my whole final schedule here: http://www.mertyazicioglu.com/2013/06/25/gsoc-2013-schedule-enhance-profiles-wordpress-org/

As you can see from the schedule, the things I was planning to complete by now was as follows:

August 12th – All the known bug fixes should be done by now.

…and it’s done! 🙂

Since I tested the plugins pretty much every single week until the midterm evaluations and fixed the issues I came across, they really seem bug-free in my development environment. Therefore, no changes were made there.

The theme, on the other hand, is the newest piece of the puzzle and naturally it had bugs/unhandled scenarios such as elements overflowing into other elements, missing the code for the Google Plus icon, design of the areas when the user is not logged in, design of the elements that change when the user is displaying his/her own profile but does not have the necessary info on file etc. These are all fixed now.

In addition to these fixes, reorganized the PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. https://www.php.net/manual/en/preface.php. code by removing unnecessary codes and making sure everything complies with WordPress’ PHP Coding Standards. Also, refactored the CSSCSS CSS is an acronym for cascading style sheets. This is what controls the design or look and feel of a site. line-by-line to ensure that it fully complies with WordPress’ CSS Coding Standards which resulted in making too many changes.

Finally, as I mentioned in my previous blog post, I was planning to work on how we can handle props in commit messages better which I also did. Had some time to learn regular expressions so I was able to write a better regular expression for it and handle the matches in a cleaner way. After spending hours staring at my regular expression to find out what’s wrong with it as it was not returning all matches for each sub-expression, I learned that PCRE is only capable of returning the last match of each sub-expression. Therefore, to my knowledge, it is not possible to match usernames solely with a regular expression. I tested my new solution on the last 25 commit messages and successfully extracted usernames from them.

Here is my previous quick and temporary solution:

preg_match('/props ([a-zA-Z0-9, ])*./', $_POST['message'], $matches);
$usernames = substr($matches[0], 6, -1);
$usernames = explode(', ', $usernames);

And here is my new and slightly better solution: (I’m looking forward to your suggestions on enhancing it)

$regex = '/props\s+((?:(?:\w+\b(?<!\bfixes))(?:[,][ ]*)?)+)/i';
preg_match_all( $regex, $_POST['message'], $matches );
$usernames = explode( ',', $matches[1][0] );
$usernames = array_map( 'trim', $usernames );
$usernames = array_filter( $usernames );

So everything I planned for this week has been completed, except the meeting with @jenmylo.

My original plan for the next week was as follows:

August 19th – Another round of feedbacks from the users should be gathered by now.

Since we were not able to evaluate the first round of feedbacks, I think we should start with doing that and ask for another round of feedbacks once the necessary changes/implementations are made.

See you next week!

#gsoc, #profiles, #weekly-update

Profiles – Weekly Update 8

Hi Everyone!

As you know, I’m working on enhancing profiles.wordpress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ as a part of GSoC’13 and this is my eighth weekly update regarding how things are going.

Once again, you can find my whole final schedule here: http://www.mertyazicioglu.com/2013/06/25/gsoc-2013-schedule-enhance-profiles-wordpress-org/

As you can see from the schedule, there are no tasks due today so instead I want to talk about how I will proceed this week.

After presenting the new design of the profiles.wordpress.org in my previous weekly update, I received some really good suggestions and I would like to sincerely thank everyone who took their time to share their thoughts, you rock! 🙂

So this week, I’m planning to have a chat with Jen to decide how we should proceed UIUI UI is an acronym for User Interface - the layout of the page the user interacts with. Think ‘how are they doing that’ and less about what they are doing./UXUX UX is an acronym for User Experience - the way the user uses the UI. Think ‘what they are doing’ and less about how they do it.-wise, of course, if she has time. We need to figure out how we should handle the users with no plugins/themes and the users with too many plugins/themes. The comments I received in my previous blog post included possible solutions for this very issue so we already have a few ideas on how we can solve them 😉

In addition to that and fixing small theme bugs, I will be working on how we can better handle props in commit messages.

See you next week!

#gsoc, #profiles, #weekly-update