Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2293 (closed enhancement: migrated)

Opened 10 years ago

Last modified 8 years ago

a quickstart option to install elixir based rdbms interface.

Reported by: alexbodn Owned by: mramm
Priority: normal Milestone: 2.1a2
Component: Quickstart Templates Version: 2.1
Severity: normal Keywords: quickstart elixir
Cc: alexbodn@…, mail@…

Description

hello friends,

as a happy elixir user, i'm happy to have made a small contribution to elixir, and to wonderful tg-2.0: quickstart an elixir based project/site.

my code is working fine with the authentication/authorization, and even with catwalk2 update and delete, but shamefully fails on catwalk2 new record, for a reason i couldn't fix yet.

please look at, and eventually apply.

alex

Attachments

x.diff Download (17.1 KB) - added by alexbodn 10 years ago.
patch to add elixir quickstart in tg-2.0
elixir-quickstart.diff Download (19.3 KB) - added by alexbodn 10 years ago.
patch to tg.devtools to allow quickstarting with an elixir based model
elixir-quickstart-2.0.1.diff Download (19.6 KB) - added by alexbodn 10 years ago.
a new patch. applies to tg.devtools 2.0.1. applies ok, with no known issues.

Change History

Changed 10 years ago by alexbodn

patch to add elixir quickstart in tg-2.0

comment:1 Changed 10 years ago by alexbodn

n.b. this quickstart is targeting the upcoming elixir version, from elixir trac.

to use released elixir, please substitute local_colname and remote_colname to local_side and remote_side, respectively.

comment:2 Changed 10 years ago by percious

  • Milestone changed from 2.0b7 to 2.0

comment:3 Changed 10 years ago by percious

  • Version changed from 2.0b7 to 2.0.1

comment:4 Changed 10 years ago by mramm

  • Owner changed from Chris Arndt to mramm
  • Status changed from new to assigned
  • Milestone changed from 2.0 to 2.1

This is great stuff, but it's too big a change for 2.0. But we'll include it in 2.1 alpha 1 which I hope to release in the next couple of weeks.

comment:5 Changed 10 years ago by percious

  • Version changed from 2.0.1 to 2.1
  • Milestone changed from 2.1 to 2.1a1

comment:6 Changed 10 years ago by alexbodn

after better testing, here is a verion of this patch that would work better. inserting new records in the admin module still doesn't work, but the given error is different. any ideas will be welcome.

Changed 10 years ago by alexbodn

patch to tg.devtools to allow quickstarting with an elixir based model

comment:7 Changed 10 years ago by alexbodn

in tg 2.0.1 everything works ok, even adding new records in catwalk to elixir created tables. i have only changed a few variable names like you did in tg-devtools 2.0.1.

Changed 10 years ago by alexbodn

a new patch. applies to tg.devtools 2.0.1. applies ok, with no known issues.

comment:8 follow-up: ↓ 9 Changed 10 years ago by percious

alex,

I think this should become it's own package, similar to how sa and genshi were treated back in the early days of 1.0. This way you could manage your own maintenance alex. What do you think? I would love to announce this as being resolved in 2.1a2. Let me know if you need help setting up a paster command to do this.

comment:9 in reply to: ↑ 8 Changed 10 years ago by alexbodn

hi percious,

thanks for your interest. Replying to percious:

alex,

I think this should become it's own package, similar to how sa and genshi were treated back in the early days of 1.0. This way you could manage your own maintenance alex. What do you think? I would love to announce this as being resolved in 2.1a2. Let me know if you need help setting up a paster command to do this.

i'd really like to do this, but i'd need some guidance.

comment:10 Changed 10 years ago by percious

  • Status changed from assigned to closed
  • Resolution set to wontfix

Okay, I'm going to close this for now, come find me on IRC, and we will get you set up.

cheers. -chris

comment:11 Changed 9 years ago by nh2

What has happened to this? Is is there a package for this now?

comment:12 Changed 9 years ago by nh2

  • Cc mail@… added; alexbodn@… removed

comment:13 Changed 9 years ago by nh2

  • Cc alexbodn@… added

Trac's CC field traps me every time ...

comment:14 Changed 9 years ago by nh2

  • Status changed from closed to reopened
  • Resolution wontfix deleted

Ported the patch to TG 2.1.

 http://bitbucket.org/nh2/tgdevtools-dev/changeset/f37f0ac35a21

It might be necessary to change my {{if elixir}} to the new == 'True' style.

I did not include the unique_user_email stuff, but I have it in a separate patch if needed. I made the nosetests work properly with Elixir.

I don't know how to properly package it separately, but this one will work for most users until someone does it.

comment:15 Changed 8 years ago by pedersen

  • Status changed from reopened to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.