<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 9, 2016 at 12:17 PM, Michal Čihař <span dir="ltr"><<a href="mailto:michal@cihar.com" target="_blank">michal@cihar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all<br>
<br>
current handlig of SQL parser code is less than optimal - it's developed<br>
in external repository and at "random" times copied to phpMyAdmin. That<br>
makes it quite hard to maintain - the fixes made in phpMyAdmin<br>
repository will be probably lost and it's hard to track what version<br>
went it.<br>
<br>
Therefore I suggest:<br>
<br>
- to move sql-parser git repo under phpmyadmin<br>
- to use sql-parser as submodule in phpmyadmin<br>
<br>
This way, all development of SQL parser will be in single Git repository<br>
where all phpMyAdmin developers have access.<br>
<br>
There are alternative approaches to handle this, but I find this best<br>
fitting our current model (no external dependencies).<br>
<br>
[1]:<a href="https://github.com/udan11/sql-parser" rel="noreferrer" target="_blank">https://github.com/udan11/sql-parser</a><br>
<span><font color="#888888"><br>
--<br>
Michal Čihař | <a href="http://cihar.com" rel="noreferrer" target="_blank">http://cihar.com</a> | <a href="http://blog.cihar.com" rel="noreferrer" target="_blank">http://blog.cihar.com</a><br>
<br>
</font></span><br>_______________________________________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net" target="_blank">Developers@phpmyadmin.net</a><br>
<a href="https://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">https://lists.phpmyadmin.net/mailman/listinfo/developers</a><br>
<br></blockquote><div><br></div><div>Hello,</div><div><br></div><div>The first time I sent my proposal for Google Summer of Code 2015 I tried finding libraries that would fit phpMyAdmin. Because I found none I thought that I could create a library on my own hoping that others (not only phpMyAdmin) would benefit from it and will help developing it (testing, sending bug reports, etc). I talked with Marc and he seemed to be fine with this.</div><div><br></div><div>After the summer ended, I was planning on talking with Marc to transfer the library to phpMyAdmin, but I did not get to do that. Hopefully, we can do this soon.</div><div><br></div><div>In my opinion, the best option would be to manage dependencies with Composer, but I proposed this in the past and people did not consider this a very good idea. Anyway, I still believe that keeping the library in a different repository is the best way because:</div><div> - it makes bug fixing easier; no need to merge upstream, older versions of phpMyAdmin may be easier to patch, etc;</div><div> - the changes to the library don't pollute the change log of phpMyAdmin;</div><div> - it is designed as a "module" to phpMyAdmin and the logic related to SQL queries is separated;</div><div> - maybe at some time in the future the library will also be used in other projects.</div><div><br></div><div>I am looking forward for more suggestions. During the past couple of weeks I have been quite inactive, but I am done with exams for now and in the next days I am hoping to send fixes prepared for most issues that I assigned to myself.</div><div><br></div><div>Best regards,</div><div>Dan Ungureanu</div></div></div></div>