<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ticket search results</title><link>https://forge-allura.apache.org/p/allura/tickets/</link><description>You searched for labels:"migration"</description><language>en</language><lastBuildDate>Thu, 20 Aug 2015 22:07:57 -0000</lastBuildDate><item><title>Regression: upgraded projects don't get 'trunk' appended to SVN checkout command</title><link>https://forge-allura.apache.org/p/allura/tickets/6364/</link><description>The upgrade process (and/or all projects?) used to put "trunk" in the SVN tool's checkout command automatically.  (It is also a configurable option).  This is no longer being set automatically.

Examples: https://sourceforge.net/p/dvb-t2-csp/code/HEAD/tree/ and https://sourceforge.net/p/seb/svn/HEAD/tree/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:55 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6364/</guid></item><item><title>BadObject in git repo refresh</title><link>https://forge-allura.apache.org/p/allura/tickets/6241/</link><description>After cloning these classic SF repos to Allura, an error similar to the following occurs.

http://contra-captcha.git.sourceforge.net/git/gitweb.cgi?p=contra-captcha/contra-captcha;a=summary
http://lidia-angel-ru.git.sourceforge.net/git/gitweb.cgi?p=lidia-angel-ru/lidia-angel-ru;a=summary
http://lesson.git.sourceforge.net/git/gitweb.cgi?p=lesson/lesson;a=summary
http://liar2.git.sourceforge.net/git/gitweb.cgi?p=liar2/liar2;a=summary
https://sourceforge.net/p/ttinterfaces/java_utils/ci/master/tree/


~~~~
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 43, in clone
    cloned_from_url)
  File "/var/local/allura/Allura/allura/model/repository.py", line 345, in init_as_clone
    self.refresh(notify=False, new_clone=True)
  File "/var/local/allura/Allura/allura/model/repository.py", line 525, in refresh
    refresh_repo(self, all_commits, notify, new_clone)
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 65, in refresh_repo
    repo.refresh_commit_info(oid, seen, not all_commits)
  File "/var/local/allura/Allura/allura/model/repository.py", line 307, in refresh_commit_info
    return self._impl.refresh_commit_info(oid, seen, lazy)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 247, in refresh_commit_info
    self.refresh_tree_info(ci.tree, seen, lazy)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 266, in refresh_tree_info
    self.refresh_tree_info(o, seen, lazy)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 266, in refresh_tree_info
    self.refresh_tree_info(o, seen, lazy)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 259, in refresh_tree_info
    for o in tree:
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20130424-py2.7.egg/git/objects/tree.py", line 225, in __iter__
    return self._iter_convert_to_object(self._cache)
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1_20130424-py2.7.egg/git/objects/tree.py", line 144, in _set_cache_
    ostream = self.repo.odb.stream(self.binsha)
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/db/base.py", line 259, in stream
    return self._db_query(sha).stream(sha)
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/db/base.py", line 243, in _db_query
    raise BadObject(sha)
BadObject: BadObject: 2a0e3fd2d5867e99b6bf89d257ad10459b1b3fb3
~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Fri, 20 Feb 2015 13:35:54 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6241/</guid></item><item><title>Allow uppercase chars in repo mount points</title><link>https://forge-allura.apache.org/p/allura/tickets/6189/</link><description>We'd like further relaxing of mount point names for code repositories, so that uppercase characters are allowed.

And the SF upgrade process should preserve case.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:56 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6189/</guid></item><item><title>allow configurable smtp timeout NEEDS INI</title><link>https://forge-allura.apache.org/p/allura/tickets/6186/</link><description>SMTP connections in mail_util.py should use a timeout which is configurable via the ini file, instead of using the default socket timeout (which ends up at 5 seconds in our current configuration)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:55 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6186/</guid></item><item><title>duplicate key error index: project-data.forum_post.$_id_</title><link>https://forge-allura.apache.org/p/allura/tickets/6185/</link><description>~~~~
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/monq_model.py", line 254, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/forge-classic/sfx/tasks.py", line 18, in migrate_project
    migrator.migrate()
  File "/var/local/forge-classic/sfx/lib/migrate.py", line 334, in migrate
    ThreadLocalORMSession.flush_all()
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/odmsession.py", line 196, in flush_all
    sess.flush()
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/base.py", line 29, in inner
    result = func(obj, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/odmsession.py", line 54, in flush
    self.uow.flush()
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/unit_of_work.py", line 44, in flush
    inow(obj, st)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/base.py", line 29, in inner
    result = func(obj, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/odmsession.py", line 66, in insert_now
    mapper(obj).insert(obj, st, self, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/base.py", line 29, in inner
    result = func(obj, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/odm/mapper.py", line 55, in insert
    session.impl.insert(doc, validate=False)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/session.py", line 22, in wrapper
    return func(self, doc, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/session.py", line 148, in insert
    bson = self._impl(doc).insert(data, safe=kwargs.get('safe', True))
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/collection.py", line 359, in insert
    continue_on_error, self.__uuid_subtype), safe)
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/mongo_client.py", line 844, in _send_message
    rv = self.__check_response_to_last_error(response)
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/mongo_client.py", line 785, in __check_response_to_last_error
    raise DuplicateKeyError(details["err"])
DuplicateKeyError: (u'E11000 duplicate key error index: project-data.forum_post.$_id_  dup key: { : "3631830@import" }', "doc:  {'import_id': u'/projects/asteriskathome/forums/forum/420324/topic/1462557?message=3631830', 'status': 'ok', 'tool_version': {'Discussion': '0.0'}, 'deleted': False, 'text': u'anyone know why there is constant static on one of my fxo modules? it was working fine yesterday. its not the line because i pluged another working line into it and it does the samething.', 'labels': [], 'app_id': ObjectId('51812e3c34309d5b6a2fc90d'), 'thread_id': '2d0957a6', 'discussion_id': ObjectId('51812e3e34309d5b6a2fc911'), 'mod_date': datetime.datetime(2013, 5, 1, 15, 23, 49, 199173), 'app_config_id': ObjectId('51812e3c34309d5b6a2fc90d'), 'last_edit_date': None, 'slug': 'a51a', 'flagged_by': [], 'edit_count': 0, 'last_edit_by_id': ObjectId('5181338434309d5b6a30c858'), 'acl': [], 'parent_id': None, 'full_slug': '20060315231636:a51a', 'version': 0, 'flags': 0, 'timestamp': datetime.datetime(2006, 3, 15, 23, 16, 36), 'author_id': ObjectId('50b6eb91e88f3d0c0a5a295b'), '_id': '3631830@import'}")
~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:54 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6185/</guid></item><item><title>Broken pipe encoding error on ibm-acpi git repo</title><link>https://forge-allura.apache.org/p/allura/tickets/6110/</link><description>The ibm-acpi project needs its git repo refreshed, it failed after copying the repo over.  Failure is:

~~~~
Traceback (most recent call last): 
File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 97, in reclone_repo
    c.app.repo.init_as_clone(source_path, None, source_url) 
File "/var/local/allura/Allura/allura/model/repository.py", line 345, in init_as_clone
    self.refresh(notify=False, new_clone=True) 
File "/var/local/allura/Allura/allura/model/repository.py", line 522, in refresh
    refresh_repo(self, all_commits, notify, new_clone) 
File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 48, in refresh_repo
    repo.refresh_commit_info(oid, seen, not all_commits) 
File "/var/local/allura/Allura/allura/model/repository.py", line 309, in refresh_commit_info
    return self._impl.refresh_commit_info(oid, seen, lazy) 
File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs) 
File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs) 
File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 209, in refresh_commit_info
    tree_id=ci.tree.hexsha, 
File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr) 
File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 132, in _set_cache_
    self._deserialize(StringIO(stream.read())) 
File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 461, in
    _deserialize print &gt;&gt; sys.stderr, "Failed to decode message '%s' using encoding %s" % (self.message, self.encoding)
IOError: [Errno 32] Broken pipe 
~~~~
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Sun, 15 Feb 2015 20:36:10 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6110/</guid></item><item><title>Don't rename repo to "code" if multiple hg/git repos</title><link>https://forge-allura.apache.org/p/allura/tickets/6109/</link><description>Naming a default repo "Code" is nice if it's just one repo or if there's one git repo and one svn repo, for example.  But if you have 3-3000 git repos, it seems much better to preserve all their names and not change one to "Code".</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:56 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6109/</guid></item><item><title>valid r1 svn repo shows as "empty"</title><link>https://forge-allura.apache.org/p/allura/tickets/6086/</link><description>E.g. https://sourceforge.net/p/aaspring-transl/code/ which has one valid SVN commit, see http://svn.code.sf.net/p/aaspring-transl/code/

We should show a "real" r1 commit.

We ignore r1 currently because it's the default trunk/tags/branches commit created by allura.  (And even if that goes away in [#4592] many existing repos have that default r1 commit)  </description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:57 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6086/</guid></item><item><title>Git refresh errors on linuxwacom/wacom-kernel</title><link>https://forge-allura.apache.org/p/allura/tickets/6078/</link><description>Got this when trying to do a --clean --all for it:

~~~~
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/monq_model.py", line 237, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/allura/Allura/allura/scripts/scripttask.py", line 60, in __new__
    cls._execute_task(arg_string)
  File "/var/local/allura/Allura/allura/scripts/scripttask.py", line 73, in _execute_task
    cls.execute(options)
  File "/var/local/allura/Allura/allura/scripts/refreshrepo.py", line 57, in execute
    {"tree_ids": 1})
  File "/var/local/env-allura/lib/python2.7/site-packages/Ming-0.3.3dev_20130322-py2.7.egg/ming/base.py", line 71, in next
    doc = self.cursor.next()
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/cursor.py", line 814, in next
    if len(self.__data) or self._refresh():
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/cursor.py", line 763, in _refresh
    self.__uuid_subtype))
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/cursor.py", line 700, in __send_message
    **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/mongo_client.py", line 915, in _send_message_with_response
    return self.__send_and_receive(message, sock_info)
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/mongo_client.py", line 890, in __send_and_receive
    (request_id, data) = self.__check_bson_size(message)
  File "/var/local/env-allura/lib/python2.7/site-packages/pymongo-2.4.2-py2.7-linux-x86_64.egg/pymongo/mongo_client.py", line 805, in __check_bson_size
    (max_doc_size, self.__max_bson_size))
InvalidDocument: BSON document too large (19106238 bytes) - the connected server supports BSON document sizes up to 16777216 bytes.
~~~~

Got this the first time the refresh was attempted.  Would be good to do a full `--clean --all` in production to confirm this is the actual error and not a transient issue of some sort.

~~~~
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 47, in refresh_repo
    repo.refresh_commit_info(oid, seen, not all_commits)
  File "/var/local/allura/Allura/allura/model/repository.py", line 281, in refresh_commit_info
    return self._impl.refresh_commit_info(oid, seen, lazy)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 209, in refresh_commit_info
    tree_id=ci.tree.hexsha,
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 132, in _set_cache_
    self._deserialize(StringIO(stream.read()))
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 443, in _deserialize
    self.author.name = self.author.name.decode(self.encoding)
LookupError: unknown encoding: object e9daff24a266307943457086533041bd971d0ef9
~~~~


</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:55 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6078/</guid></item><item><title>Git refresh UnicodeDecodeError</title><link>https://forge-allura.apache.org/p/allura/tickets/6000/</link><description>Forking/cloning repo code in project commsy from /nfs/classic/sf-git/c/co/commsy/commsy failed.


I tried a clean refresh and that succeeded, but the repo showed empty and then a regular refresh after that worked ok.

Could try a reclone after we enable git hotcopy again.

~~~~
  File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 241, in refresh_tree_info
    for o in tree:
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/tree.py", line 225, in __iter__
    return self._iter_convert_to_object(self._cache)
  File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
    self._set_cache_(attr)
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/tree.py", line 145, in _set_cache_
    self._cache = tree_entries_from_data(ostream.read())
  File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/fun.py", line 73, in tree_entries_from_data
    name_enc = name.decode("utf-8")
  File "/var/local/env-allura/lib64/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9f in position 11: invalid start byte
~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:55 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/6000/</guid></item><item><title>test upgrade for scummvm [ss3006]</title><link>https://forge-allura.apache.org/p/allura/tickets/5916/</link><description>[forge:site-support:#3006]

&gt;On IRC, ctsai suggested a test migration of the ScummVM project to Allura in a sandbox for evaluation purposes to catch problems as soon as possible. We (myself and a few other devs) think that would be great to try.

They previously tried to upgrade and then asked for a revert.

For reference, in addition to problems with importing their very large svn repo (which should be fixed now with svn hotcopy), they also noted these issues: http://usecode.org/misc/tracker.txt</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Tsai</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:57 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5916/</guid></item><item><title>clone_post_process for upgrades needs to use distinct usernames</title><link>https://forge-allura.apache.org/p/allura/tickets/5816/</link><description>`clone_post_process` for upgrades sends and email to all the devs, but the clone command uses c.user.username.  It needs to be a separate email to each dev, with the correct username in the clone command.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:55 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5816/</guid></item><item><title>Ticket text with leading whitespace incorrectly migrate to preformatted markdown blocks</title><link>https://forge-allura.apache.org/p/allura/tickets/5805/</link><description>https://sourceforge.net/p/mingw/bugs/21/ has preformatted sections but the original classic version looked like http://screencast.com/t/oCRcZFTc  Original incorrect escaping aside, this shows a failure for the upgrade script to convert all syntax properly.  See more details at https://sourceforge.net/p/allura/tickets/5679/#ec93/64b7</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:54 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5805/</guid></item><item><title>AssertionError in cloning git repos</title><link>https://forge-allura.apache.org/p/allura/tickets/5785/</link><description>Looks like the clone probably finished, but failed during refresh.  /p/encuestame/code 500s currently

~~~~
Forking/cloning repo code in project encuestame from /nfs/classic/sf-git/e/en/encuestame/encuestame failed.

Forking/cloning repo code in project zynaddsubfx from /nfs/classic/sf-git/z/zy/zynaddsubfx/zynaddsubfx failed.


Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 26, in clone
    cloned_from_url)
  File "/var/local/allura/Allura/allura/model/repository.py", line 275, in init_as_clone
    self.refresh(notify=False)
  File "/var/local/allura/Allura/allura/model/repository.py", line 452, in refresh
    refresh_repo(self, all_commits, notify)
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 107, in refresh_repo
    compute_lcds(ci, cache)
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 499, in compute_lcds
    _compute_lcds(tree, cache)
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 504, in _compute_lcds
    lcd = LastCommit.get(tree, create=True)  # auto-vivify LCD
  File "/var/local/allura/Allura/allura/model/repo.py", line 742, in get
    lcd = cls._build(commit.get_path(path))
  File "/var/local/allura/Allura/allura/model/repo.py", line 771, in _build
    entries = tree.commit.repo.last_commit_ids(tree.commit, unchanged)
  File "/var/local/allura/Allura/allura/model/repository.py", line 257, in last_commit_ids
    return self._impl.last_commit_ids(commit, paths)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 112, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 137, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/Allura/allura/model/repository.py", line 132, in last_commit_ids
    changed = set([path for path in paths if not parent.has_path(path)])
  File "/var/local/allura/Allura/allura/model/repo.py", line 352, in has_path
    self.get_path(path)
  File "/var/local/allura/Allura/allura/model/repo.py", line 347, in get_path
    cur = cur[part]
  File "/var/local/allura/Allura/allura/model/repo.py", line 426, in __getitem__
    obj.set_context(self, name)
  File "/var/local/allura/Allura/allura/model/repo.py", line 448, in set_context
    assert commit_or_tree is not self
AssertionError
~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:56 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5785/</guid></item><item><title>SVN switch --relocate needs another param</title><link>https://forge-allura.apache.org/p/allura/tickets/5692/</link><description>In the SVN readonly hook, the --relocate option for older SVN versions needs to have have OLD NEW as url params, not just NEW.  E.g.  `svn switch --relocate "https://test-brondsem2.svn.sourceforge.net/svnroot/test-brondsem2" "svn+ssh://brondsem@svn.code.sf.net/p/test-brondsem2/svn/"`

Should test with a subdir check (e.g. trunk/ which would be typical) too, to make sure that works out okay.

Check the linked wiki pages and update it too.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:53 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5692/</guid></item><item><title>Taskd should have a way to handle large % of tasks failing</title><link>https://forge-allura.apache.org/p/allura/tickets/5600/</link><description>taskd should have a way to determine if a large number of tasks have failed.  I am thinking this would be most useful to count by task type, across all taskd instances.  (Does each taskd instance query mongo for that occasionally?  Or a separate script on cron?)

When a large % of errors have occurred, it'll depend on the type of task and the deployment situation to determine what should happen.  So needs to be flexible.  Some default behaviors that would be useful: email somebody, or stop processing more events of that type.

For upgrades, we'd want to stop the processing of upgrades if there too many failures.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Fri, 13 Feb 2015 10:08:06 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5600/</guid></item><item><title>Script to force an svn hotcopy</title><link>https://forge-allura.apache.org/p/allura/tickets/5567/</link><description>We need a paster script that will force a repo clone via `svn hotcopy` to an existing svn mount point. We'll use this to test hotcopy on an sfs-alluradaemon host w/o enabling `scm.svn.hotcopy` globally.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Van Steenburgh</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:52 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5567/</guid></item><item><title>Add username to new git checkout command</title><link>https://forge-allura.apache.org/p/allura/tickets/5490/</link><description>From [forge:feature-requests:#34]  The post-upgrade email as well as the git pre-receive hook set up in [#1997] should put the username in the new git origin URL.  Otherwise the client will default to using the local username (e.g. root or whatever).

For the pre-recieve hook, it looks like the username will be available as an env var, but it may vary depending on the way the git remote is running.  So this should be tested over a git ssh connection (not just sandbox local filesystem), to see what var it uses.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:54 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5490/</guid></item><item><title>strip .git suffix when migrating git repos</title><link>https://forge-allura.apache.org/p/allura/tickets/5412/</link><description>http://csound.git.sourceforge.net/git/gitweb-index.cgi migrated to repos like https://sourceforge.net/p/csound/csound5-git/  We should add a case to strip the git suffix, so it doesn't end up in the tool mount point</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:57 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5412/</guid></item><item><title>When flushing BatchIndexer, prevent exceeding max BSON doc size</title><link>https://forge-allura.apache.org/p/allura/tickets/5368/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Van Steenburgh</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:56 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5368/</guid></item><item><title>News import breaks links with underscore</title><link>https://forge-allura.apache.org/p/allura/tickets/5358/</link><description>*Originally created by:* nijel

News import breaks links with underscore by escaping them. For example the correct link http://www.phpmyadmin.net/home_page/security/ will be turned into  http://www.phpmyadmin.net/home\_page/security/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:53 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5358/</guid></item><item><title>Ticket instructions that are an empty string look dumb</title><link>https://forge-allura.apache.org/p/allura/tickets/5224/</link><description>http://screencast.com/t/tWyFO7KuPHC</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 20 Aug 2015 22:07:54 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5224/</guid></item><item><title>repo_tasks.uninstall() task fails during Project.delete()</title><link>https://forge-allura.apache.org/p/allura/tickets/5215/</link><description>When a project is deleted via `Project.delete()` and the project has repo apps installed, the repo apps have their `.uninstall()` methods called (correctly) which posts a `repo_tasks.uninstall()` task to clean up the repo asynchronously since it might take a bit of time to clean up the file system and database.

However, by the time the task runs, the project is almost certainly deleted, and the MonQTask system refuses to restore the `c.app` context if the `c.project` cannot be restored, which causes the task to fail.  This can cause the task worker to pause for 10s (in case the error was due to a transient outage, I suppose).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cory Johns</dc:creator><pubDate>Sat, 03 Jan 2015 07:20:24 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5215/</guid></item><item><title>Faster svn refresh</title><link>https://forge-allura.apache.org/p/allura/tickets/5189/</link><description>A repo with thousands of commits can take many hours to analyze (repo_refresh) after the initial import. What can we do to make it faster?

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dave Brondsema</dc:creator><pubDate>Thu, 16 Apr 2015 04:41:23 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5189/</guid></item><item><title>(some new-ish) News posts missing from RSS feed after upgrade [ss1134]</title><link>https://forge-allura.apache.org/p/allura/tickets/5179/</link><description>[forge:site-support:#1134]

&gt;The RSS feeds for my project:
https://sourceforge.net/p/c-icap/news/feed

&gt;has only old entries. Moreover the old entries have wrong dates.

&gt;It is very easy to see the problem just do a:
"wget https://sourceforge.net/p/c-icap/news/feed"
and then compare with the news page:
https://sourceforge.net/p/c-icap/news/

The date issue is being covered in [#5013], but the newest entry (still pre-upgrade it looks like) isn't in the feed.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Tsai</dc:creator><pubDate>Thu, 22 Jan 2015 03:27:17 -0000</pubDate><guid>https://forge-allura.apache.org/p/allura/tickets/5179/</guid></item></channel></rss>