<commit_before>//
// Copyright (c) 2016 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

package main

import "github.com/01org/ciao/osprepare"

var ciaoDevClearDeps = []osprepare.PackageRequirement{
	{BinaryName: "/usr/bin/qemu-system-x86_64", PackageName: "cloud-control"},
	{BinaryName: "/usr/bin/xorriso", PackageName: "cloud-control"},
	{BinaryName: "/usr/bin/ssh", PackageName: "openssh-server"},
	{BinaryName: "/usr/bin/ssh-keygen", PackageName: "openssh-server"},
}

var ciaoDevFedoraDeps = []osprepare.PackageRequirement{
	{BinaryName: "/usr/bin/qemu-system-x86_64", PackageName: "qemu-system-x86"},
	{BinaryName: "/usr/bin/xorriso", PackageName: "xorriso"},
	{BinaryName: "/usr/bin/ssh", PackageName: "openssh-clients"},
	{BinaryName: "/usr/bin/ssh-keygen", PackageName: "openssh-clients"},
}

var ciaoDevUbuntuDeps = []osprepare.PackageRequirement{
	{BinaryName: "/usr/bin/qemu-system-x86_64", PackageName: "qemu-system-x86"},
	{BinaryName: "/usr/bin/xorriso", PackageName: "xorriso"},
	{BinaryName: "/usr/bin/ssh", PackageName: "openssh-client"},
	{BinaryName: "/usr/bin/ssh-keygen", PackageName: "openssh-client"},
}

var ciaoDevDeps = map[string][]osprepare.PackageRequirement{
	"clearlinux": ciaoDevClearDeps,
	"fedora":     ciaoDevFedoraDeps,
	"ubuntu":     ciaoDevUbuntuDeps,
}<commit_msg>ciao-down: Ensure qemu-img is installed<commit_after>//
// Copyright (c) 2016 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

package main

import "github.com/01org/ciao/osprepare"

var ciaoDevClearDeps = []osprepare.PackageRequirement{
	{BinaryName: "/usr/bin/qemu-system-x86_64", PackageName: "cloud-control"},
	{BinaryName: "/usr/bin/xorriso", PackageName: "cloud-control"},
	{BinaryName: "/usr/bin/ssh", PackageName: "openssh-server"},
	{BinaryName: "/usr/bin/ssh-keygen", PackageName: "openssh-server"},
}

var ciaoDevFedoraDeps = []osprepare.PackageRequirement{
	{BinaryName: "/usr/bin/qemu-system-x86_64", PackageName: "qemu-system-x86"},
	{BinaryName: "/usr/bin/qemu-img", PackageName: "qemu-img"},
	{BinaryName: "/usr/bin/xorriso", PackageName: "xorriso"},
	{BinaryName: "/usr/bin/ssh", PackageName: "openssh-clients"},
	{BinaryName: "/usr/bin/ssh-keygen", PackageName: "openssh-clients"},
}

var ciaoDevUbuntuDeps = []osprepare.PackageRequirement{
	{BinaryName: "/usr/bin/qemu-system-x86_64", PackageName: "qemu-system-x86"},
	{BinaryName: "/usr/bin/qemu-img", PackageName: "qemu-utils"},
	{BinaryName: "/usr/bin/xorriso", PackageName: "xorriso"},
	{BinaryName: "/usr/bin/ssh", PackageName: "openssh-client"},
	{BinaryName: "/usr/bin/ssh-keygen", PackageName: "openssh-client"},
}

var ciaoDevDeps = map[string][]osprepare.PackageRequirement{
	"clearlinux": ciaoDevClearDeps,
	"fedora":     ciaoDevFedoraDeps,
	"ubuntu":     ciaoDevUbuntuDeps,
}
{'fraction_non_alphanumeric': 0.15499215891270257, 'fraction_numerical': 0.013591217982226868, 'mean_word_length': 4.8072837632776935, 'pattern_counts': {'":': 6, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5495116', 'n_tokens_mistral': 1344, 'n_tokens_neox': 1279, 'n_words': 320}