Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Wednesday - Breakout - Effective Habits of Genero Developers - Reuben Barclay  (Read 1580 times)
Reuben B.
Four Js
Posts: 834


« on: November 18, 2020, 09:36:32 am »

Quote
We see a lot of different Genero development environments. A run through of the effective habits we see from our community

This thread will be used to collate questions and answers from the live chat of Reuben's presentation and any questions you may have after watching a recording.

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Alessandro (Efisio) R.
Posts: 42


« Reply #1 on: November 19, 2020, 11:03:14 am »

Hi Reuben,

I have 2 questions:

at page 43 you have mentioned daily build like a task that can be assigned to the develpment server during 6pm to 8am (obviously it take only a few minutes in our case), do you have any hint on how to achieve this in a RHEL/CentOS environment?

at page 42 in the list of coding standards there is the beautifier/formatter item, but I'm afraid to use it across all the project because we use SVN and using these tools the first time will mess up the files history when we after use the annotate/blame function for cases where some code is a liability :) Do you have any advice?

Thanks
Reuben B.
Four Js
Posts: 834


« Reply #2 on: November 19, 2020, 10:53:18 pm »

Hi Reuben,

...
at page 43 you have mentioned daily build like a task that can be assigned to the develpment server during 6pm to 8am (obviously it take only a few minutes in our case), do you have any hint on how to achieve this in a RHEL/CentOS environment?

...

Thanks

At its simplest a cronjob.  Perhaps point you maybe missing and I think Scott covered it in his presentation, gsmake can be run from the command line http://4js.com/online_documentation/fjs-gst-manual-html/#gst-topics/c_gst_projectmgr_gsmake.html to build applications in a .4pw.  The environment will need to be correct and you can use gsmake -env from the terminal window inside Genero Studio to create a script to set the environment.

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Reuben B.
Four Js
Posts: 834


« Reply #3 on: November 19, 2020, 11:04:41 pm »

Hi Reuben,

...

at page 42 in the list of coding standards there is the beautifier/formatter item, but I'm afraid to use it across all the project because we use SVN and using these tools the first time will mess up the files history when we after use the annotate/blame function for cases where some code is a liability :) Do you have any advice?

Thanks

I understand the dilemma.  If you look at bottom of http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_beautifier_usage.html there are two commands fglformatdiff, fglgitformat which may help in that circumstance.

The one thought I have is that it is probably better to do the first time change at the time you first start on the next major version.  So if I was to illustrate by example,. in our shoes, when we first started 4.00 from 3.20, if we were looking to introduce the beautifier to our code base for the first time  then that would have been the best time to do it.  That way any developer will know when working across that 3.20 - 4.00 boundary that there will be a difference that is due to the code beautifier.

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Alessandro (Efisio) R.
Posts: 42


« Reply #4 on: November 20, 2020, 09:04:21 am »

Thanks Reuben for your help!
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines