From 1c265dc21140aa0029f6bd8709401bbdf711e466 Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Wed, 21 Sep 2016 16:04:21 -0400 Subject: [PATCH] releng: Add script to generate list of plugins for API baseline Add a script to make it easier to list plugins that need to go in the API baseline. This was meant to be in the commit that adds the new 2.1.0 API baseline but it was forgotten. Change-Id: Ic6daa6086dcbe3a7ad12627cdff43038765263d6 Signed-off-by: Marc-Andre Laperle Reviewed-on: https://git.eclipse.org/r/81879 Reviewed-by: Hudson CI --- releng/scripts/generate_api_baseline_unit_ids.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 releng/scripts/generate_api_baseline_unit_ids.sh diff --git a/releng/scripts/generate_api_baseline_unit_ids.sh b/releng/scripts/generate_api_baseline_unit_ids.sh new file mode 100755 index 0000000000..b04ab1d460 --- /dev/null +++ b/releng/scripts/generate_api_baseline_unit_ids.sh @@ -0,0 +1,14 @@ +#!/bin/bash +############################################################################### +# Copyright (c) 2016 Ericsson +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +############################################################################### + +# Generates a list of plugins suitable to be put in the API baseline. It skips test plugins, rcp and doc. + +find ../.. -name "MANIFEST.MF" | grep -v -E 'doc|rcp|tests' | cut -c 3- | xargs -n1 dirname | xargs -n1 dirname | sed -rn s/.*\\/\(.*\)/\\1/p | sort | xargs -n1 -I {} echo '' + -- 2.34.1