# Obsolete packages or code in the LSST stack

**URL:** <https://www.rubin.community/t/obsolete-packages-or-code-in-the-lsst-stack/283>\
**Category:** Data Management\
**Tags:** dm-dev, dm-policy\
**Created:** [October 8, 2015, 8:12pm UTC](https://www.rubin.community/t/obsolete-packages-or-code-in-the-lsst-stack/283 "2015-10-08T20:12:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![isullivan](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/isullivan/32/1866_2.png) [@isullivan](https://www.rubin.community/u/isullivan)\
**Post date:** [October 8, 2015, 8:12pm UTC](https://www.rubin.community/t/obsolete-packages-or-code-in-the-lsst-stack/283/1 "2015-10-08T20:12:36Z")

</div>

How do we handle obsolete code and packages in the LSST stack?

As an example, during the October 2015 “boot camp”, we decided to update references throughout the stack to boost::unordered\_map that are now included in the standard C++ library, but the ap package build broke. It turns out that this package is deprecated, and was known to fail to build, but this was not obvious to someone new to the project. In this case, the ap package was moved to the DM internal lsst-dm repository site and renamed legacy-ap as the result of an RFC.

Based on this experience, our policy for handling obsolete packages appears to be:

1. File an RFC
2. If the code is agreed to be deprecated, move it to an internal site such as lsst-dm
3. Document the change in the RFC comments, and reference the RFC in the new repository to make it clear why and when it was removed from the main stack.

---

<div class="post-metadata">

**Author:** ![swinbank](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/swinbank/32/24_2.png) [@swinbank](https://www.rubin.community/u/swinbank)\
**Post date:** [October 8, 2015, 8:52pm UTC](https://www.rubin.community/t/obsolete-packages-or-code-in-the-lsst-stack/283/2 "2015-10-08T20:52:52Z")

</div>

> [@isullivan](#):
>
> move it to an internal site such as lsst-dm

Specifically: we move repositories from the `lsst` GitHub organization to `lsst-dm`, and prefix their name with the string `legacy-`. Thus, `ap` becomes [GitHub - lsst-dm/legacy-ap: Source association and merging for the LSST Data Management pipeline (deprecated as this sort of high-level algorithm is no longer part of the processing plan) · GitHub](https://github.com/lsst-dm/legacy-ap).
