Re: [Firebird-devel] Conversion of CVS to Subversion
On Mon, 16 Jul 2012 01:01:31 +0200, Roman Rokytskyy wrote: > - should be integrated with Eclipse at least on the same level as CVS. The latest versions of Eclipse supports git and the Eclipse project itself has moved all their code to git, so I assume (without checking) that it provides a similar level of support. Other than that, I agree with all your points. Mark -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Conversion of CVS to Subversion
Hi, I did the conversion of main Firebird modules to SVN. Dne 14.7.2012 17:19, Mark Rotteveel napsal(a): > Now that Jaybird 2.2 is released we want to migrate the CVS client-java > module to Subversion. Is there any documentation on how this was done > for firebird? Nope. As it was one-way, do-once process, there was no point to document it. However, I've used cvs2svn (see http://pypi.python.org/pypi/cvs2svn) and it wasn't so hard although it took a lot of time. But it took so long because the data volume was huge, so every test run took several hours. I also did thorough routine tests, as there was no margin for error (it was no replace but merge, as SVN was already used for other code) and I had to find optimal compromise between history detail (there was no point to migrate some ALPHA, BETA or even RC tags) and data volume, make changes in structure (CVS is flat while SVN isn't) etc. So it took about a month to prepare it, but final execution was over weekend. As Jaybird is small code base with not so huge history of changes like core engine, it should be much much easier for you. Also the cvs2svn evolved a lot since then. The cvs2svn creates a dump file that could be imported into svn (at least it was the way it works back then) via SourceForge shell service. Just make shure the import ADDs, not REPLACE the old repository :) It's also good to take full svn backup (not chekout) before merge. best regards Pavel Cisar IBPhoenix -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Conversion of CVS to Subversion
On 16/07/12 10:05, Mark Rotteveel wrote: > On Mon, 16 Jul 2012 01:01:31 +0200, Roman Rokytskyy > wrote: >> - should be integrated with Eclipse at least on the same level as CVS. > > The latest versions of Eclipse supports git and the Eclipse project itself > has moved all their code to git, so I assume (without checking) that it > provides a similar level of support. > > Other than that, I agree with all your points. BTW, when we moved from cvs to svn http://cvs2svn.tigris.org/ did a great job. fsg -- "Fascinating creatures, phoenixes, they can carry immensely heavy loads, their tears have healing powers and they make highly faithful pets." - J.K. Rowling -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Conversion of CVS to Subversion
On Sun, Jul 15, 2012 at 12:30:23PM +0100, Lester Caine wrote: > Will Subversion actually add anything other than wasting time and > requiring people to rewrok their end of things. >From my point of view, there is one big drawback of CVS: it doesn't keep information about which changes to different files were committed together. On the other hand, I agree that the comfort of git makes looking for differences between CVS and SVN kind of pointless (big thanks to Adriano for his git mirror of Firebird SVN repository). Michal Kubecek -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Trusted auth like on Linux/Mac
On 07/11/12 17:36, Dalton Calford wrote: > If possible, the linux servers should support pam authentication Probably will be done in FB3. That's just plugin writing question... > (default > linux security authentication) which means they can also support microsoft > active directory once the linux machine is setup correctly (simple install). > > My concern is the length of the user identifiers - if the users have a > active directory login such as "DISTRIBUTEL_CORP\DALTON.CALFORD" (domain of > distributel_corp plus user name) you run into problems when you have users > with names longer than mine. > > This is not just a linux issue, it is a windows authentication issue. > In FB3 you will be able to map long OS identifiers to shorter database user names. Support is supposed to be added before beta1. > Then when you use extended character sets such as UTF8 due to language > issues, then you really start to encounter problems. > > User identifiers, sql object names etc all need to be expanded to a more > reasonable length for this day and age. Certainly, but this is already not related with initial topic. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Trusted auth like on Linux/Mac
On 07/11/12 17:15, marius adrian popa wrote: > I wonder if the trusted auth should be enabled on linux too for > embedded mode for example It's not trusted auth, it's OS auth, and it works in embedded mode. > I didn't checked yet but the linux embedded library should use the > current user if you open a database in the home folder and you > provided no password Yes, it works this way/ > "As soon as I tested it on a Mac I discovered that I could not connect > to the database: wrong username or password. > It happens that it is possible to set up an embedded server under > Linux and Mac, as I described in older posts, but these servers will > still use security2.fdb to authenticate the user" > Only if you use -user switch I hope? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
[Firebird-devel] Name of service manager
Hello, All. Currently service manager has fixed name service_mgr, but AFAICS in code, this name isn't used anywhere. Is it possible to ignore the name then? I have a problem: I got a connection string from user for creation of database. Say, I want to check server (engine) version before creation to set correct SQL dialect and/or default character set. DY suggested to use services to obtain the version, but in this case I have to parse the connection string to extract server name and protocol (and pray that my parser works the same way as one in fbclient). If service manager name was ignored, I could just feed the same connection string to isc_service_attach() and leave whole work to the parser in fbclient. -- WBR, SD. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Name of service manager
16.07.2012 16:06, Dimitry Sibiryakov wrote: > > If service manager name was ignored, > I could just feed the same connection string to isc_service_attach() The whole connection string? And what should the service do with the database pathname? Dmitry -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Name of service manager
On 07/16/12 16:27, Dmitry Yemanov wrote: > 16.07.2012 16:06, Dimitry Sibiryakov wrote: >> If service manager name was ignored, >> I could just feed the same connection string to isc_service_attach() > The whole connection string? And what should the service do with the > database pathname? Looks like Dimitry wants to make it ignore database pathname. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Name of service manager
16.07.2012 17:05, Alex Peshkoff wrote: > Looks like Dimitry wants to make it ignore database pathname. If so, then this looks crappy, sorry. Dmitry -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Name of service manager
On 07/16/12 16:06, Dimitry Sibiryakov wrote: >Hello, All. > >Currently service manager has fixed name service_mgr, but AFAICS in code, > this name > isn't used anywhere. >Is it possible to ignore the name then? > >I have a problem: I got a connection string from user for creation of > database. Say, I > want to check server (engine) version before creation to set correct SQL > dialect and/or > default character set. DY suggested to use services to obtain the version, > but in this > case I have to parse the connection string to extract server name and > protocol (and pray > that my parser works the same way as one in fbclient). If service manager > name was > ignored, I could just feed the same connection string to isc_service_attach() > and leave > whole work to the parser in fbclient. I understand what do you want. But before doing something with this let me mention that there are some more service manager names that are accepted by engine. Version1 services contain a part of utility's command line internally - for example service named 'Backup' already contains '-b' switch for gbak and so on. Telling true this is not a showstopper for your suggestion, because real suggestion is to: Drop V1 services in FB3. A half of them is long ago meaningless, because they try to use non-existing utilities like gdef or not remembered by me tool to control journal. Others (like mentioned Backup) are easily replaced with service_mgr-based services. Next, in FB3 they are not tested at all - I'm far not sure that all authentication tricks needed to support multiple security databases will work for V1 services. But what can be a real showstopper is anonymous service. Attaching it is documented (sorry, do not remember where) way to check is firebird started or not. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Name of service manager
16.07.2012 14:27, Dmitry Yemanov wrote: > And what should the service do with the > database pathname? Whatever it likes. From ignoring to checking ODS and decide whether to handle the connection or to let other service a chance. What current service manager does with "service_mgs" string? -- WBR, SD. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Name of service manager
16.07.2012 15:24, Alex Peshkoff wrote: > I understand what do you want. But before doing something with this let > me mention that there are some more service manager names that are > accepted by engine. Version1 services contain a part of utility's > command line internally - for example service named 'Backup' already > contains '-b' switch for gbak and so on. Nothing prevents client library from replacing database path with "service_mgr" after it extracted server name for version2 spb. -- WBR, SD. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
[Firebird-devel] FB_API_VER
both fb2.5 and fb3.0 report #define FB_API_VER 25 but fb3,0 also defines SQL_BOOLEAN is this normal? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
[Firebird-devel] [FB-Tracker] Created: (CORE-3891) New service information items to get parts of server version in binary form
New service information items to get parts of server version in binary form --- Key: CORE-3891 URL: http://tracker.firebirdsql.org/browse/CORE-3891 Project: Firebird Core Issue Type: Improvement Components: Engine Reporter: Dimitry Sibiryakov Priority: Minor To avoid mistakes during parsing of version string (which format is preserved only by traditions, not documentation and may differ in private forks). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
[Firebird-devel] [FB-Tracker] Created: (CORE-3892) /var/lib/firebird/2.5/
/var/lib/firebird/2.5/ -- Key: CORE-3892 URL: http://tracker.firebirdsql.org/browse/CORE-3892 Project: Firebird Core Issue Type: Bug Affects Versions: 2.5.1 Environment: ubuntu 12.04 server, apt-get install firebird2.5-superclassic, chown firebird:firebird /var/lib/firebird/2.5/data/base.FDB Reporter: Arx on select gen_uuid() from rdb$database in Flamerobin or SQLQuery.Open in Lazarus: isc_dsql_fetch failed (sql message: -902) operating system directive open failed Permission denied But if in procedure, after isql-fb it's all OK. Other Select also OK (select * from rdb$database and etc). It's only on gen_uuid(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] Name of service manager
On 07/16/12 18:18, Dimitry Sibiryakov wrote: > 16.07.2012 15:24, Alex Peshkoff wrote: >> I understand what do you want. But before doing something with this let >> me mention that there are some more service manager names that are >> accepted by engine. Version1 services contain a part of utility's >> command line internally - for example service named 'Backup' already >> contains '-b' switch for gbak and so on. >Nothing prevents client library from replacing database path with > "service_mgr" after > it extracted server name for version2 spb. Hmm... So it will replace 'anonymous' with 'service_mgr'. And what we will get when connecting to server w/o login/password? Login failure in general case. Not good. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel