<commit_before>FFS_COMMANDS=plugin.py Plugin.Query Plugin.diagnostics sr.py SR.probe SR.create SR.ls SR.destroy SR.attach SR.detach SR.stat volume.py Volume.create Volume.destroy Volume.stat Volume.clone Volume.snapshot Volume.resize Volume.set_name Volume.set_description Volume.set Volume.unset
BTRFS_COMMANDS=plugin.py Plugin.Query Plugin.diagnostics sr.py SR.probe SR.create SR.set_name SR.set_description SR.ls SR.destroy SR.attach SR.detach SR.stat Volume.create Volume.destroy Volume.stat Volume.clone Volume.snapshot Volume.resize common.py Volume.set_name Volume.set_description Volume.set Volume.unset
RAWNFS_COMMANDS=plugin.py Plugin.Query Plugin.diagnostics sr.py SR.create SR.ls SR.destroy SR.attach SR.detach SR.stat Volume.create Volume.destroy Volume.stat Volume.clone Volume.snapshot Volume.resize common.py Volume.set_name Volume.set_description Volume.set Volume.unset
LIB_FILES=__init__.py common.py poolhelper.py

.PHONY: clean
clean:

DESTDIR?=/
SCRIPTDIR?=/usr/libexec/xapi-storage-script
PYTHONDIR?=/usr/lib/python2.7/site-packages/xapi/storage/ffs
XAPIPLUGINDIR?=/etc/xapi.d/plugins/

.PHONY: install
install:
	mkdir -p $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.ffs
	(cd volume/org.xen.xapi.storage.ffs; install -m 0755 $(FFS_COMMANDS) $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.ffs)
	mkdir -p $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.btrfs
	(cd volume/org.xen.xapi.storage.btrfs; install -m 0755 $(BTRFS_COMMANDS) $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.btrfs)
	mkdir -p $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.rawnfs
	(cd volume/org.xen.xapi.storage.rawnfs; install -m 0755 $(RAWNFS_COMMANDS) $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.rawnfs)
	mkdir -p $(DESTDIR)$(PYTHONDIR)
	(cd lib/ffs; install -m 0755 $(LIB_FILES) $(DESTDIR)$(PYTHONDIR)/)
	mkdir -p $(DESTDIR)$(XAPIPLUGINDIR)
	install -m 0755 overlay/$(XAPIPLUGINDIR)/ffs $(DESTDIR)$(XAPIPLUGINDIR)/ffs<commit_msg>Don't de-reference symlinks when packaging<commit_after>FFS_COMMANDS=plugin.py Plugin.Query Plugin.diagnostics sr.py SR.probe SR.create SR.ls SR.destroy SR.attach SR.detach SR.stat volume.py Volume.create Volume.destroy Volume.stat Volume.clone Volume.snapshot Volume.resize Volume.set_name Volume.set_description Volume.set Volume.unset
BTRFS_COMMANDS=plugin.py Plugin.Query Plugin.diagnostics sr.py SR.probe SR.create SR.set_name SR.set_description SR.ls SR.destroy SR.attach SR.detach SR.stat Volume.create Volume.destroy Volume.stat Volume.clone Volume.snapshot Volume.resize common.py Volume.set_name Volume.set_description Volume.set Volume.unset
RAWNFS_COMMANDS=plugin.py Plugin.Query Plugin.diagnostics sr.py SR.create SR.ls SR.destroy SR.attach SR.detach SR.stat Volume.create Volume.destroy Volume.stat Volume.clone Volume.snapshot Volume.resize common.py Volume.set_name Volume.set_description Volume.set Volume.unset
LIB_FILES=__init__.py common.py poolhelper.py

.PHONY: clean
clean:

DESTDIR?=/
SCRIPTDIR?=/usr/libexec/xapi-storage-script
PYTHONDIR?=/usr/lib/python2.7/site-packages/xapi/storage/ffs
XAPIPLUGINDIR?=/etc/xapi.d/plugins/

.PHONY: install
install:
	mkdir -p $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.ffs
	(cd volume/org.xen.xapi.storage.ffs; cp --no-dereference $(FFS_COMMANDS) $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.ffs)
	mkdir -p $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.btrfs
	(cd volume/org.xen.xapi.storage.btrfs; cp --no-dereference $(BTRFS_COMMANDS) $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.btrfs)
	mkdir -p $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.rawnfs
	(cd volume/org.xen.xapi.storage.rawnfs; cp --no-dereference $(RAWNFS_COMMANDS) $(DESTDIR)$(SCRIPTDIR)/volume/org.xen.xapi.storage.rawnfs)
	mkdir -p $(DESTDIR)$(PYTHONDIR)
	(cd lib/ffs; install -m 0755 $(LIB_FILES) $(DESTDIR)$(PYTHONDIR)/)
	mkdir -p $(DESTDIR)$(XAPIPLUGINDIR)
	install -m 0755 overlay/$(XAPIPLUGINDIR)/ffs $(DESTDIR)$(XAPIPLUGINDIR)/ffs
{'fraction_non_alphanumeric': 0.13573056469992403, 'fraction_numerical': 0.008103317295517852, 'mean_word_length': 5.528925619834711, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5019746', 'n_tokens_mistral': 1539, 'n_tokens_neox': 1516, 'n_words': 256}