--===============0715614829626045663== Content-Type: multipart/alternative; boundary="===============2870230739952650533==" --===============2870230739952650533== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/111654/ ----------------------------------------------------------- (Updated July 29, 2013, 8:26 a.m.) Review request for Bodega. Changes ------- remove the function and use an exception block instead Description ------- This patch keeps in sync the DBs of the bodega-server and discourse. It syncs, a. the user accounts* b. for each asset that has a partner with id > 1000 it create a new forum which has a topic and a post * there is a default account for the discourse username: forumadmin password: password Diffs (updated) ----- sql/discourse.plsql PRE-CREATION server/bodegaDbHelper 273e34f Diff: http://git.reviewboard.kde.org/r/111654/diff/ Testing ------- How to test it, * git clone https://github.com/terietor/discourse.git * cd discourse * git checkout bodega * https://github.com/terietor/discourse/blob/master/docs/DEVELOPER-ADVANCED.md * cd bodega-server/server * make sql && make test-sql (your bodega user must be a superuser in order to enable the dblink extention) * then go back to discourse and do `bundle exec rails s` * go to localhost:3000 Thanks, Giorgos Tsiapaliokas --===============2870230739952650533== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/111654/

Review request for Bodega.
By Giorgos Tsiapaliokas.

Updated July 29, 2013, 8:26 a.m.

Changes

remove the function and use an exception block instead

Description

This patch keeps in sync the DBs of the bodega-server and discourse.

It syncs,

a. the user accounts*
b. for each asset that has a partner with id > 1000 it create a new forum which has a topic and a post

* there is a default account for the discourse
username: forumadmin
password: password

Testing

How to test it,

* git clone https://github.com/terietor/discourse.git
* cd discourse
* git checkout bodega
* https://github.com/terietor/discourse/blob/master/docs/DEVELOPER-ADVANCED.md
* cd bodega-server/server
* make sql && make test-sql (your bodega user must be a superuser in order to enable the dblink extention)
* then go back to discourse and do `bundle exec rails s`
* go to localhost:3000

Diffs (updated)

  • sql/discourse.plsql (PRE-CREATION)
  • server/bodegaDbHelper (273e34f)

View Diff

--===============2870230739952650533==-- --===============0715614829626045663== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Active mailing list Active@kde.org https://mail.kde.org/mailman/listinfo/active --===============0715614829626045663==--