commit/galaxy-central: greg: Make sure the current authenticated user is the one that is associated with new committed change sets in the tool shed repositories.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/6f7bcfffe6ff/ changeset: 6f7bcfffe6ff user: greg date: 2011-06-28 17:03:55 summary: Make sure the current authenticated user is the one that is associated with new committed change sets in the tool shed repositories. affected #: 2 files (78 bytes) --- a/lib/galaxy/webapps/community/controllers/repository.py Tue Jun 28 10:24:49 2011 -0400 +++ b/lib/galaxy/webapps/community/controllers/repository.py Tue Jun 28 11:03:55 2011 -0400 @@ -424,7 +424,7 @@ if not commit_message: commit_message = 'Deleted selected files' # Commit the changes. - commands.commit( repo.ui, repo, repo_dir, message=commit_message ) + commands.commit( repo.ui, repo, repo_dir, user=trans.user.username, message=commit_message ) handle_email_alerts( trans, repository ) # Update the repository files for browsing. update_for_browsing( repository, current_working_dir ) --- a/lib/galaxy/webapps/community/controllers/upload.py Tue Jun 28 10:24:49 2011 -0400 +++ b/lib/galaxy/webapps/community/controllers/upload.py Tue Jun 28 11:03:55 2011 -0400 @@ -82,7 +82,7 @@ # Move the uploaded file to the load_point within the repository hierarchy. shutil.move( uploaded_file_name, full_path ) commands.add( repo.ui, repo, full_path ) - commands.commit( repo.ui, repo, full_path, message=commit_message ) + commands.commit( repo.ui, repo, full_path, user=trans.user.username, message=commit_message ) handle_email_alerts( trans, repository ) if ok: # Update the repository files for browsing, a by-product of doing this @@ -162,7 +162,7 @@ for filename_in_archive in filenames_in_archive: commands.add( repo.ui, repo, filename_in_archive ) # Commit the changes. - commands.commit( repo.ui, repo, full_path, message=commit_message ) + commands.commit( repo.ui, repo, full_path, user=trans.user.username, message=commit_message ) handle_email_alerts( trans, repository ) return True, '', files_to_remove def uncompress( self, repository, uploaded_file_name, uploaded_file_filename, isgzip, isbz2 ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket