Notice: this is a static mirror for historical purposes.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
192Source IntegrationSFSVNpublic2011-01-22 12:042011-01-23 13:20
Reporterjordan 
Assigned ToJohn Reese 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionduplicate 
Product Version 
Target VersionFixed in Version 
Summary192: repo_import_latest does not work on CRON job
DescriptionIn the last point on http://leetcode.net/blog/2009/01/integrating-git-svn-with-mantisbt/ [^] you say to "For Gitweb, SourceForge, or WebSVN integration, find your repository's ID, and setup a cronjob (or something equivalent) to run "curl http://yoururl.xyz/mantisbt/plugin.php?page=Source/repo_import_latest&id=XX" [^]

I'm doing exactly that, I have the up to date version of Mantis (1.2.4). Whenever I hit that URL I get an error, I think it's because the plugin was updated to use a security token on post/submit. This makes it impossible to cURL. Any ideas? See screenshot. That's what happens when I try to access the page directly.

It works fine when I do it manually through Mantis control panel though. (since it includes the security token).
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 181confirmedJohn Reese mantisbt + git integration repo_import_latest&id=X got error #2800 

-  Notes
User avatar (263)
jordan (reporter)
2011-01-22 16:05

I've tried checking off "Allow Remote Imports" and "Allow Remote Check-In" and it almost works. I get the same screen (seen in screenshot) but without the navbar.

...Still says I need a valid security token.
User avatar (264)
John Reese (administrator)
2011-01-23 13:20

This is a documentation issue. Use "page=Source/import" rather than "page=Source/repo_import_latest".

- Issue History
Date Modified Username Field Change
2011-01-22 12:04 jordan New Issue
2011-01-22 12:04 jordan File Added: invalid-token.png
2011-01-22 16:05 jordan Note Added: 263
2011-01-23 13:20 John Reese Note Added: 264
2011-01-23 13:20 John Reese Relationship added duplicate of 181
2011-01-23 13:20 John Reese Status new => resolved
2011-01-23 13:20 John Reese Resolution open => duplicate
2011-01-23 13:20 John Reese Assigned To => John Reese


Copyright © 2000 - 2012 MantisBT Group
Time: 0.1272 seconds.
memory usage: 8,379 KB
Powered by Mantis Bugtracker

hosted with
Linode