<commit_before>import yumoter

yumoter = yumoter.yumoter('config/repos.json', '/home/aarwine/git/yumoter/repos')

yumoter.loadRepos("6.4", "wildwest")
a = yumoter._returnNewestByNameArch(["openssl"])
a = a[0]
print a
print "name", a.name
print "arch", a.arch
print "epoch", a.epoch
print "version", a.version
print "release", a.release
print "size", a.size
print "remote_url", a.remote_url

print yumoter._urlToPath(a.remote_url)
print yumoter._urlToPromoPath(a.remote_url)

b = yumoter.getDeps(a)

print "###"

for pkg in b:
	print pkg
	for dep in b[pkg]:
		#print "\t%s - %s" % (dep, dep.remote_url)
		yumotor.promotePkg(dep)<commit_msg>typo, yumoter not yumotor<commit_after>import yumoter

yumoter = yumoter.yumoter('config/repos.json', '/home/aarwine/git/yumoter/repos')

yumoter.loadRepos("6.4", "wildwest")
a = yumoter._returnNewestByNameArch(["openssl"])
a = a[0]
print a
print "name", a.name
print "arch", a.arch
print "epoch", a.epoch
print "version", a.version
print "release", a.release
print "size", a.size
print "remote_url", a.remote_url

print yumoter._urlToPath(a.remote_url)
print yumoter._urlToPromoPath(a.remote_url)

b = yumoter.getDeps(a)

print "###"

for pkg in b:
	print pkg
	for dep in b[pkg]:
		#print "\t%s - %s" % (dep, dep.remote_url)
		yumoter.promotePkg(dep)
{'fraction_non_alphanumeric': 0.16046511627906976, 'fraction_numerical': 0.004651162790697674, 'mean_word_length': 5.206730769230769, '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': '427254', 'n_tokens_mistral': 552, 'n_tokens_neox': 536, 'n_words': 116}