Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 03-17-2014, 11:32 AM
madmaxmangos madmaxmangos is offline
 
Join Date: Mar 2014
Location: Rye, East Sussex, UK
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Github Commits Tracking

Hey,

We are going to be moving from SMF to vBulletin in a few weeks and need a mod made that is able to pull the latest commits from Github using the .atom (rss) files and load them into a page.

This is for vBulletin 4.4.2 level 1 patch.

Currently we use a simple HTML page to display these: http://getmangos.com/#cores

Atom file: https://github.com/mangoszero/server...ts/master.atom

There are five in total.

As changes are committed to the repository the .atom file for the reposity is updated with a commit like so:
Code:
 <entry>
    <id>tag:github.com,2008:Grit::Commit/8f219f118d584f1b09441a4966e884c71480a1d5</id>
    <link type="text/html" rel="alternate" href="https://github.com/mangoszero/server/commit/8f219f118d584f1b09441a4966e884c71480a1d5"/>
    <title>
        Added source grouping for various script types.
    </title>
    <updated>2013-11-01T11:59:50-07:00</updated>
    <media:thumbnail height="30" width="30" url="https://1.gravatar.com/avatar/71af419d210792536bcbb39dd15a292e?d=https%3A%2F%2Fidenticons.github.com%2Fc052a2c7cda859b576622ada7eb31fa7.png&amp;r=x&amp;s=30"/>
    <author>
      <name>danielsreichenbach</name>
      <uri>https://github.com/danielsreichenbach</uri>
    </author>
    <content type="html">
      &lt;pre style='white-space:pre-wrap;width:81ex'>Added source grouping for various script types.

Scripts have been grouped by continent, and type.

Signed-off-by: Daniel S. Reichenbach;</pre>
    </content>
  </entry>
Ideally we'd like the .atom file pulled into a database so we can keep a complete history of commits and an admin page to add / remove or edit existing repository urls and admin the commits.

For the user side there is not much interaction as you can see on our current site. It would be nice if each repository feed was given it's own block to display information in like our site though with a bit more information then just the title of the commit.

Maybe how our forums have it - https://community.getmangos.co.uk/in...c,20705.0.html

It displays the title, Content, author and link to the github commit page.


End result:

User visits a page (commits.php) and has blocks for each repository with information on each commit.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04464 seconds
  • Memory Usage 2,150KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete