Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo Importing ignored changes made in the last year #154

Closed
manhnt9 opened this issue Feb 23, 2016 · 4 comments
Closed

Repo Importing ignored changes made in the last year #154

manhnt9 opened this issue Feb 23, 2016 · 4 comments

Comments

@manhnt9
Copy link

manhnt9 commented Feb 23, 2016

Hi, I've run into a problem about importing.
When importing a big repository, the job is executing so long that a server will kill it (php timeout I guess).
My installation can't import the whole repo, it only updates under 50 most recent changesets then stops.
And import lastest data clearly doesn't help since the missing changesets was in the past.
I've examined this carefully and I'm pretty sure this is caused by php timeout.
Unfortunately on a shared hosting (my case), I'm not able to edit it php configuration.

At first my hosting used Clouflare and the import job is killed by cloudflare's timeout.
So I try disabling CF, the imports runned longer a little bit and was killed by my own hosting then.

With CF it always update 44 latest changesets with the "Import Everything" option
Without CF timeout, it always update to 49 latest changesets with the "Import Everything" option.

I think I can rebuild my repo, re-push the commits and import incrementally by myself.
So I suggest we should have incremental importing if you still value the shared hosting users to import big repo.

@dregad
Copy link
Member

dregad commented Feb 23, 2016

All users are valued, shared hosting or not 😉

Import latest should work incrementally. I suggest you have a look at #60

@manhnt9
Copy link
Author

manhnt9 commented Feb 24, 2016

Thanks for replying, I tried repeating "Import latest" only but it never get my oldest commits, my gitlab repo has 67 commits but the mantis repo only has 48 changesets (48 latest commits). I've been trying any options I can think of but can not see my the early commits.
Regarding #60, I think that's a work-around if SourceIntegrarion doesn't link the right issues, mine still hasn't had an issue yet.
Any ideas about what I can do next?
Thank you in advance.

@manhnt9
Copy link
Author

manhnt9 commented Feb 24, 2016

Update: I notice that the missing commits are made in 2015.
@dregad The incremental importing works, but I think the year is the problem, it only fetches changes in current year 😃
This is getting more interesting. Please fix soon if you can.

@manhnt9 manhnt9 changed the title [Feature Request] Please implement incremental importing. Repo Importing ignore changes made in the last year Feb 24, 2016
@manhnt9 manhnt9 changed the title Repo Importing ignore changes made in the last year Repo Importing ignored changes made in the last year Feb 24, 2016
@dregad
Copy link
Member

dregad commented Feb 21, 2017

@Zer0-x I'm sorry but I'm not able to reproduce the problem. In my tests, the plugin (eventually) successfully imports all commits including older ones. There is no filter by date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants