You are not logged in.
Pages: 1
Hello, in my attempt to have a deep understand of your great framework I'm studying example sources. I'm using FPC and Lazarus, mainly under Linux, and often I find that examples are missing of lpi/lpr project or does not compile because some directives are not working etc..
Following the hints of your handbook I have a fossil working copy on my pc of synopse repository. Is there a way to produce a patch when I modify examples source so they can compile on Linux ?
Thank you
Offline
There is no "pull request" possible with fossil.
User usually use https://github.com/synopse/mORMot
Offline
Thank you ! I got an svn chekout of the git repository but I'm not able anymore to compile mormot_base laz package. mORMot.pas file in row 9085 and 9086 and 9109 and 9110 has an override of IntGet and IntSet method which are differents from its ancestor.
code example
https://pastebin.com/7Pyt8reD
Thank you
Last edited by slapshot (2020-02-05 17:06:01)
Offline
@ab I have noticed several times that some changes made to the fossil are not synchronized with github.
https://pasteboard.co/ITj5s5A.jpg
https://pasteboard.co/ITj5SWo.jpg
Last edited by Márcio Baroni (2020-02-05 18:01:09)
Offline
I don't know this, too early for me to understand this huge code ! . I checked via svn revision 8005 and 8004. There is a new parameter NameLen that there is not into abstract ancestor class.
Offline
I got the same error for IntGet and IntSet. I used the Github version.
I downloaded the NightlyBuild from : https://synopse.info/fossil/wiki?name=Get+the+source
Now, the package compiles.
I am using Lazarus 2.1.0 r62611 and FPC 3.3.1 on Windows. My target is i386-win32
fpcdeluxe, FPC 3.2 / Lazarus 2.0, mORMot on Windows 10 ...
Offline
I updated my working copy of Fossil and now it compiles. No problem at all. Maybe some sync troubles between repositories.
Thank you
Offline
Should be fine on github now.
I use rsynch to copy changes to my github repo from the fossil reference repository.
See https://github.com/synopse/mORMot/blob/ … tCommit.sh
Sometimes, it doesn't find the modifications! I don't see why...
Under Windows, I used RoboCopy https://github.com/synopse/mORMot/blob/ … Commit.bat which worked well...
If anyone knows a better way under Linux to synchronize one folder from another...
Offline
If anyone knows a better way under Linux to synchronize one folder from another...
Well rsync is really a great tool and it is very difficult to fail. Which switch are you using to sync both repository ?
Offline
Sorry I did not have seen that.
It seems all ok, that's a weird behaviour of rsync.
Offline
Pages: 1