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

Document how to run the rake task to attach a file to a user #1333

Merged
merged 2 commits into from
Mar 3, 2025

Conversation

hectorcorrea
Copy link
Member

Related to #1274

Copy link
Member

@carolyncole carolyncole left a comment

Choose a reason for hiding this comment

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

Thanks @hectorcorrea

bundle exec rake file_inventory:attach_file[xxxx-yyyy-zzzz,/mnt/nfs/tigerdata/xxxx-yyyy-zzzz.csv]
```

Technically you don't need to copy the source file to a new file named after the `job_id` that you are interested but keeping each file named after the job that they belong keeps things tiddy. Plus since each file will be cleaned up on their own schedule having them separate also prevents the file from dissapearing for one user then it's cleaned up for another user.
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@coveralls
Copy link

Coverage Status

coverage: 84.246%. remained the same
when pulling 583f771 on file-inventory-attach2
into 61fa34d on main.

@hectorcorrea hectorcorrea merged commit 00b8429 into main Mar 3, 2025
2 checks passed
@hectorcorrea hectorcorrea deleted the file-inventory-attach2 branch March 3, 2025 19:29
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.

3 participants