Check-in [cd7064a3fe]
Overview
Comment:Corrected site index generation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cd7064a3fef414a2540f710e8b9e4a58bf70ddef
User & Date: rkeene on 2014-09-09 08:12:02
Other Links: manifest | tags
Context
2014-09-09
08:19
Updated to keep track of the upstream OS name and CPU check-in: ed608e7fee user: rkeene tags: trunk
08:12
Corrected site index generation check-in: cd7064a3fe user: rkeene tags: trunk
07:51
Fixed bug where blank extraData was added check-in: 95ec92e5d0 user: rkeene tags: trunk
Changes

Modified appfs-mk from [a0e025f3a4] to [ce86fe818d].

85
86
87
88
89
90
91
92
93

94
95
96
97
98
99
100
			echo "${type},${stat_data},${extra_data},${filename}"
		fi
	done
}

cd "${pkgsdir}" || exit 1

for package in *; do
	packagelistfile="${appfsdir}/sha1/${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM}.tmp"

	(
		cd "${package}" || exit 1

		for os_cpuArch in *; do
			os="$(echo "${os_cpuArch}" | cut -f 1 -d '-')"
			cpuArch="$(echo "${os_cpuArch}" | cut -f 2- -d '-')"








<
|
>







85
86
87
88
89
90
91

92
93
94
95
96
97
98
99
100
			echo "${type},${stat_data},${extra_data},${filename}"
		fi
	done
}

cd "${pkgsdir}" || exit 1


packagelistfile="${appfsdir}/sha1/${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM}.tmp"
for package in *; do
	(
		cd "${package}" || exit 1

		for os_cpuArch in *; do
			os="$(echo "${os_cpuArch}" | cut -f 1 -d '-')"
			cpuArch="$(echo "${os_cpuArch}" | cut -f 2- -d '-')"

122
123
124
125
126
127
128
129
130


131
132
133
134
135
					isLatest='0'

					echo "${package},${version},${os},${cpuArch},${manifestfile_hash},${isLatest}"
				done

			)
		done
	) > "${packagelistfile}"



	packagelistfile_hash="$(sha1 "${packagelistfile}")"
	mv "${packagelistfile}" "${appfsdir}/sha1/${packagelistfile_hash}"

	echo "${packagelistfile_hash},sha1" > "${appfsdir}/index"
done







<
|
>
>
|
|

|
<
122
123
124
125
126
127
128

129
130
131
132
133
134
135

					isLatest='0'

					echo "${package},${version},${os},${cpuArch},${manifestfile_hash},${isLatest}"
				done

			)
		done

	)

done > "${packagelistfile}"
packagelistfile_hash="$(sha1 "${packagelistfile}")"
mv "${packagelistfile}" "${appfsdir}/sha1/${packagelistfile_hash}"

echo "${packagelistfile_hash},sha1" > "${appfsdir}/index"