{"number":69,"pull_request":{"number":69,"issue_url":"https://github.com/GeoNode/geonode/issues/69","head":{"repo":{"master_branch":null,"name":"geonode","created_at":"2010-06-27T02:55:32Z","size":128,"clone_url":"https://github.com/ingenieroariel/geonode.git","private":false,"updated_at":"2011-10-13T17:12:41Z","watchers":2,"ssh_url":"git@github.com:ingenieroariel/geonode.git","url":"https://api.github.com/repos/ingenieroariel/geonode","git_url":"git://github.com/ingenieroariel/geonode.git","language":"Python","fork":true,"svn_url":"https://svn.github.com/ingenieroariel/geonode","id":742915,"pushed_at":"2011-10-13T17:12:40Z","open_issues":0,"homepage":"http://geonode.org/","description":"GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.","forks":1,"html_url":"https://github.com/ingenieroariel/geonode","owner":{"avatar_url":"https://secure.gravatar.com/avatar/17d312a8bb95b2f7ec3f02314990ef10?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"17d312a8bb95b2f7ec3f02314990ef10","url":"https://api.github.com/users/ingenieroariel","id":54999,"login":"ingenieroariel"}},"label":"ingenieroariel:977","sha":"e4546831a66257ab90078e408a85ae73fa6a598f","ref":"977","user":{"avatar_url":"https://secure.gravatar.com/avatar/17d312a8bb95b2f7ec3f02314990ef10?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"17d312a8bb95b2f7ec3f02314990ef10","url":"https://api.github.com/users/ingenieroariel","id":54999,"login":"ingenieroariel"}},"merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/17d312a8bb95b2f7ec3f02314990ef10?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"17d312a8bb95b2f7ec3f02314990ef10","url":"https://api.github.com/users/ingenieroariel","id":54999,"login":"ingenieroariel"},"created_at":"2011-10-12T19:45:24Z","changed_files":2,"merged":true,"body":"Hello team, as part of the debugging for using updatelayers in a GeoServer instance with 800 layers and only 2GB of RAM. I created an updated version of the updatelayers management command and the slurp method.\r\n\r\nHere is how the output looks now:\r\n\r\n(venv)$ geonode updatelayers --ignore-errors\r\nInspecting the available layers in GeoServer ...\r\nFound 883 layers, starting processing\r\n[updated] Layer WaterBasinData_2050_2059_b1GC7I6 (0/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC19I5 (1/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC16I4 (2/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC12I3 (3/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC4I2 (4/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC7I3 (5/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC13I3 (6/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC20I2 (7/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC18I1 (8/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC6I5 (9/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC10I6 (10/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC5I4 (11/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC22I3 (12/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC4I4 (13/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC2I6 (14/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC21I4 (15/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC13I4 (16/883)\r\n[updated] Layer WaterBasinData_2050_2059_b1GC3I4 (17/883)\r\n[failed] Layer WaterBasinData_2050_2059_b1GC5I6 (18/883)\r\n[failed] Layer WaterBasinData_2050_2059_b1GC19I1 (19/883)\r\n\r\nPlease note that I have not tested this outside my local installation, it needs to be tried in other instances before  considering it done.\r\n\r\nThis fix should be in scope for 1.1 given it is a bug fix for a ticked listed for \"Rock Solid\" but should ideally have an integration test to show it actually works. Suggestions welcome for the best way of writing a test for updatelayers.","comments":0,"title":"Better updatelayers (Fix for 977)","additions":86,"diff_url":"https://github.com/GeoNode/geonode/pull/69.diff","updated_at":"2011-10-25T19:40:06Z","url":"https://api.github.com/repos/GeoNode/geonode/pulls/69","id":398032,"patch_url":"https://github.com/GeoNode/geonode/pull/69.patch","mergeable":null,"merged_at":"2011-10-25T19:40:06Z","commits":9,"closed_at":"2011-10-25T19:40:06Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/17d312a8bb95b2f7ec3f02314990ef10?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"17d312a8bb95b2f7ec3f02314990ef10","url":"https://api.github.com/users/ingenieroariel","id":54999,"login":"ingenieroariel"},"deletions":33,"html_url":"https://github.com/GeoNode/geonode/pull/69","base":{"repo":{"master_branch":null,"name":"geonode","created_at":"2010-06-03T18:14:47Z","size":620,"clone_url":"https://github.com/GeoNode/geonode.git","private":false,"updated_at":"2011-10-25T19:40:06Z","watchers":76,"ssh_url":"git@github.com:GeoNode/geonode.git","url":"https://api.github.com/repos/GeoNode/geonode","git_url":"git://github.com/GeoNode/geonode.git","language":"Python","fork":false,"svn_url":"https://svn.github.com/GeoNode/geonode","id":701765,"pushed_at":"2011-10-25T19:40:06Z","open_issues":14,"homepage":"http://geonode.org/","description":"GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.","forks":45,"html_url":"https://github.com/GeoNode/geonode","owner":{"avatar_url":"https://secure.gravatar.com/avatar/cf8cbd022f1f9d359059fb3a4d87d7e6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"cf8cbd022f1f9d359059fb3a4d87d7e6","url":"https://api.github.com/users/GeoNode","id":132843,"login":"GeoNode"}},"label":"GeoNode:master","sha":"51ed57535bebdca781e24d5ac3b3c5a0e0ba468f","ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/cf8cbd022f1f9d359059fb3a4d87d7e6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"cf8cbd022f1f9d359059fb3a4d87d7e6","url":"https://api.github.com/users/GeoNode","id":132843,"login":"GeoNode"}},"state":"closed"},"action":"closed"}