<commit_before>VERSION=current
SERVE=serve

CHANNEL=https://stable.release.core-os.net/amd64-usr
VMLINUZ=coreos_production_pxe.vmlinuz
CPIO=coreos_production_pxe_image.cpio.gz

KERNEL=$(addprefix $(VERSION)/, $(VMLINUZ))
INITRD=$(addprefix $(VERSION)/, $(CPIO))

ASC=CoreOS_Image_Signing_Key.asc

KEY=$(addprefix $(VERSION)/, $(ASC))
GPG=gpg

default: $(KEY) $(KERNEL) $(INITRD)

$(VERSION):
	test $(VERSION)
	mkdir -pv $(VERSION)

$(KEY): $(VERSION)
	curl -fs https://coreos.com/security/image-signing-key/$(ASC) -o $(KEY)
	$(GPG) --import < $(KEY)

$(KERNEL): $(KEY) $(VERSION)
	curl -fs $(CHANNEL)/$(KERNEL) -o $(KERNEL)
	curl -fs $(CHANNEL)/$(KERNEL).sig -o $(KERNEL).sig
	$(GPG) --verify $(PWD)/$(KERNEL).sig

$(INITRD): $(KEY) $(VERSION)
	curl -fs $(CHANNEL)/$(INITRD) -o $(INITRD)
	curl -fs $(CHANNEL)/$(INITRD).sig -o $(INITRD).sig
	$(GPG) --verify $(PWD)/$(KERNEL).sig

clean:
	@rm -rfv $(VERSION) || true

$(SERVE):
	ln -vs $(VERSION) $(SERVE)

fclean: clean
	@rm -v $(SERVE) || true

re: clean default<commit_msg>Clean wildcard and channel alpha<commit_after>VERSION=1192.1.0
SERVE=serve

CHANNEL=https://alpha.release.core-os.net/amd64-usr
VMLINUZ=coreos_production_pxe.vmlinuz
CPIO=coreos_production_pxe_image.cpio.gz

KERNEL=$(addprefix $(VERSION)/, $(VMLINUZ))
INITRD=$(addprefix $(VERSION)/, $(CPIO))

ASC=CoreOS_Image_Signing_Key.asc

KEY=$(addprefix $(VERSION)/, $(ASC))
GPG=gpg

default: $(KEY) $(KERNEL) $(INITRD)

$(VERSION):
	test $(VERSION)
	mkdir -pv $(VERSION)

$(KEY): $(VERSION)
	curl -fs https://coreos.com/security/image-signing-key/$(ASC) -o $(KEY)
	$(GPG) --import < $(KEY)

$(KERNEL): $(KEY) $(VERSION)
	curl -fs $(CHANNEL)/$(KERNEL) -o $(KERNEL)
	curl -fs $(CHANNEL)/$(KERNEL).sig -o $(KERNEL).sig
	$(GPG) --verify $(PWD)/$(KERNEL).sig

$(INITRD): $(KEY) $(VERSION)
	curl -fs $(CHANNEL)/$(INITRD) -o $(INITRD)
	curl -fs $(CHANNEL)/$(INITRD).sig -o $(INITRD).sig
	$(GPG) --verify $(PWD)/$(KERNEL).sig

clean:
	@rm -rfv $(VERSION) || true

$(SERVE):
	@ls -dF $(VERSION)
	ln -vs $(VERSION) $(SERVE)

fclean: clean
	@find * -maxdepth 1 -type d -exec rm -Rfv {} \;
	@rm -v $(SERVE) || true

re: fclean default
{'fraction_non_alphanumeric': 0.23163313055685542, 'fraction_numerical': 0.005147402901263453, 'mean_word_length': 4.794037940379404, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6061870', 'n_tokens_mistral': 870, 'n_tokens_neox': 849, 'n_words': 188}