Bug 955246

Summary: [RFE] regex filtering of matched files
Product: [Fedora] Fedora Reporter: jcpunk
Component: hardlinkAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: jzeleny, misterbonnie, riehecky
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: hardlink-1.3-1.fc26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-27 20:54:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jcpunk 2013-04-22 15:58:28 UTC
Description of problem:

I've got an enormous tree of files that I'd like to hardlink, but, due to design choices beyond my control, not all identical files should be hardlinked.

Some files currently have the same content, but may not in the future.  I know what files I can always link, it would be nice to be able to specify.

Version-Release number of selected component (if applicable): hardlink-1.0-17


How reproducible: always


Steps to Reproduce:
1. svn co <path to devel instance> .
2. svn co <path to production instance> .
3. notice I'm low on disk space
4. which I could hardlink some files easily.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jan Zeleny 2013-04-23 07:42:38 UTC
Thank you for the report. At this moment, I have one proposal for content exclusion, see bug 833773. A patch for that already exists and if necessary, I can push it basically any time.

Unfortunately I'm sorry to say that I have no plans for a granularity finer than what the bug 833773 requests. However feel free to implement it and send a patch, I'll be happy to review it and put it to dist-git if it's ok.

Comment 2 jcpunk 2013-04-23 14:17:13 UTC
I'll see about coding up a patch, the scratch build has expired for bug 833773 and the patch isn't attached to that bug.  Any chance I can get a copy of the -x patch attached to bug 833773 so I can see how it is done and follow suit from there?

Comment 3 Jan Zeleny 2013-04-23 14:40:33 UTC
I have uploaded the patch, take a look.

Comment 4 Fedora Admin XMLRPC Client 2016-05-30 14:58:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2016-05-31 22:00:00 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora Update System 2017-04-23 23:47:32 UTC
hardlink-1.3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-db1d0d0f9c

Comment 7 Fedora Update System 2017-04-25 21:27:54 UTC
hardlink-1.3-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-db1d0d0f9c

Comment 8 Pat Riehecky 2017-04-26 14:41:53 UTC
It might be better if --help indicated it was a pcre pattern.

Comment 9 Fedora Update System 2017-04-27 20:54:27 UTC
hardlink-1.3-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.