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

enable uploader to support non-uid uploads #165

Merged
merged 2 commits into from
Feb 23, 2016
Merged

enable uploader to support non-uid uploads #165

merged 2 commits into from
Feb 23, 2016

Conversation

rentzso
Copy link
Contributor

@rentzso rentzso commented Feb 19, 2016

closes #158

@kofalt
Copy link
Contributor

kofalt commented Feb 22, 2016

LGTM

session_operations = {'$min': dict(timestamp=acquisition['timestamp'])}
if acquisition.get('timezone'):
session_operations['$set'] = {'timezone': acquisition['timezone']}
config.db.sessions.update_one({'_id': session_obj['_id']}, session_operations)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the need for the FIXME here. That behavior is fine and expected.

Also, I thought we decided that the logic on 152 would be removed. We simply don't have timestamps on projects.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I forgot to remove those two lines.

@gsfr
Copy link
Member

gsfr commented Feb 23, 2016

LGTM, pending one comment.

@gsfr
Copy link
Member

gsfr commented Feb 23, 2016

Let's leave this hanging for a moment. I'm almost ready to test.

gsfr pushed a commit that referenced this pull request Feb 23, 2016
enable uploader to support non-uid uploads
@gsfr gsfr merged commit 9e7e69c into master Feb 23, 2016
@gsfr gsfr deleted the issue#158 branch February 23, 2016 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend /reaper endpoint to handle non-UID-based uploads
3 participants