PHP Classes

Can import files from my git

Recommend this page to a friend!

      Top level forums  >  Site  >  Features  >  Can import files from my git  >  (Un) Subscribe thread alerts  
Subject:Can import files from my git
Summary:I can not import files from my git to phpclasses.org
Messages:18
Author:Mauro Di Girolamo
Date:2013-05-22 19:58:56
Update:2018-04-11 06:27:23
 
  1 - 10   11 - 18  

  1. Can import files from my git   Reply   Report abuse  
Picture of Mauro Di Girolamo Mauro Di Girolamo - 2013-05-22 20:35:00
Hello,
I can not upload my Git https://github.com/MauroDiGirolamo/Xyndravandria_Dyverath.git to phpclasses.org. I can retrieve the file list, but when I click on "import the selected files" after having selected all the roles for all files, the site just refreshes and nothing happens. I tried it here: http://www.phpclasses.org/package/8079-PHP-Dyverath-is-a-database-access-wrapper-.html
For my other Gits, there is no problem.
Please help me with this problem.
Thank you in advance.

  2. Re: Can import files from my git   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-05-22 20:45:26 - In reply to message 1 from Mauro Di Girolamo
That is because your repository has too many files. The page to import the files has too many form inputs and that exceeds the limit number of request parameters configured in PHP.

Soon the page will be fixed to import a limited number of files at a time. That way you will be able to import all files in multiple times.

That will take about 2 weeks to be implemented. Meanwhile please be patient until that is not done.

  3. Re: Can import files from my git   Reply   Report abuse  
Picture of Mauro Di Girolamo Mauro Di Girolamo - 2013-05-22 21:23:53 - In reply to message 2 from Manuel Lemos
Hello,
didn't expect you to directly take care of it and already tell me how soon it will be fixed. That's awesome, thank you very much!
Surely, I'll wait then until you have implemented the changes.

  4. Re: Can import files from my git   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-06-06 12:45:29 - In reply to message 3 from Mauro Di Girolamo
OK, the system was updated to be able to import upto 100 files at a time. The actual batch import should also be limited to 1 minute. If you have more files, you need to import the skipped files right after each batch import.

Please try importing your package again and let me know when you are done or if you had problems.

  5. Re: Can import files from my git   Reply   Report abuse  
Picture of Mauro Di Girolamo Mauro Di Girolamo - 2013-06-07 03:09:44 - In reply to message 4 from Manuel Lemos
Hello,
anything worked fine, I imported all the files in three steps.
Thanks!

  6. Re: Can import files from my git   Reply   Report abuse  
Picture of Rolands Kusins Rolands Kusins - 2014-02-06 18:26:56 - In reply to message 4 from Manuel Lemos
It looks like file update is now broken. I updated files on GitHub (https://github.com/tower9/hostblock.git), but PHP Classes doesn't seem to sense file changes and says "There are no new or updated files to be imported from the repository.".

  7. Re: Can import files from my git   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-02-06 21:25:25 - In reply to message 6 from Rolands Kusins
Nothing changed in PHPClasses but I have got a few complaints. The first developer that complained, tried it again later and it got the right file versions.

This suggests that there may be a problem in GitHub. Maybe there are delays synchronizing Git repository servers.

Can you please try again. If the problem is still occurring just let me know the path of at least one file that you cannot synchronize.

  8. Re: Can import files from my git   Reply   Report abuse  
Picture of Rolands Kusins Rolands Kusins - 2014-02-07 07:46:13 - In reply to message 7 from Manuel Lemos
Yesterday tried several times, result was the same. Tried today and now got error "It was not specified a valid repository server address."

With "$ git clone https://github.com/tower9/hostblock.git" I do get latest version of files. I guess PHP classes are using GitHub API, so maybe problem is with API...

Regarding changed files, for example, ./README.md and ./hostblock.php is changed. Fixed few bugs in ./include/Stats.php and ./include/SshdLogParser.php. Patterns in ./config/hostblock.ini were also updated. None of these files get synchronized.

  9. Re: Can import files from my git   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-02-07 09:27:52 - In reply to message 8 from Rolands Kusins
No the GitHub API is only used to get the list of repositories that you own.

The invalid repository address message may appear if you are pasting the wrong repository address like for instance the GitHub page or you are specifying an directory that does not exist in the repository as module.

Anyway, I found the problem. It seems GitHub may have changed something that makes the master commit not be the first in the git clone data. I just updated the site with a fixed version. It should work now. Just let me know otherwise.

  10. Re: Can import files from my git   Reply   Report abuse  
Picture of Rolands Kusins Rolands Kusins - 2014-02-07 10:00:41 - In reply to message 9 from Manuel Lemos
I didn't change the repository address. This error happened only once.

Thank you! File update works now :)

 
  1 - 10   11 - 18