# Poll: How do you (re)generate s4ext file for Slicer ExtensionsIndex?

**URL:** <https://discourse.slicer.org/t/poll-how-do-you-re-generate-s4ext-file-for-slicer-extensionsindex/381>\
**Category:** Development\
**Tags:** extensions-manager\
**Created:** [May 24, 2017, 10:29pm UTC](https://discourse.slicer.org/t/poll-how-do-you-re-generate-s4ext-file-for-slicer-extensionsindex/381 "2017-05-24T22:29:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 24, 2017, 10:29pm UTC](https://discourse.slicer.org/t/poll-how-do-you-re-generate-s4ext-file-for-slicer-extensionsindex/381/1 "2017-05-24T22:29:48Z")

</div>

_Poll ([view on site](https://discourse.slicer.org/t/poll-how-do-you-re-generate-s4ext-file-for-slicer-extensionsindex/381/1))_

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [May 24, 2017, 10:33pm UTC](https://discourse.slicer.org/t/poll-how-do-you-re-generate-s4ext-file-for-slicer-extensionsindex/381/2 "2017-05-24T22:33:06Z")

</div>

> If I need to update something in s4ext that is already in ExtensionsIndex, I just edit it manually

I sometime manually edit to only change the git hash.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [May 24, 2017, 10:41pm UTC](https://discourse.slicer.org/t/poll-how-do-you-re-generate-s4ext-file-for-slicer-extensionsindex/381/3 "2017-05-24T22:41:35Z")

</div>

> [@jcfr](#):
>
> I sometime manually edit to only change the git hash.

So you should also check the manual edit option too 😉

Jokes aside, I hope this is useful, and should also raise awareness of the developers about what is the proper procedure and that they should remember to update the CMakeLists.txt of their extension.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [May 25, 2017, 12:33am UTC](https://discourse.slicer.org/t/poll-how-do-you-re-generate-s4ext-file-for-slicer-extensionsindex/381/4 "2017-05-25T00:33:11Z")

</div>

> [@fedorov](#):
>
> So you should also check the manual edit option too 😉

So as I 🙂 BUt I edit s4ext’s exactly once: when I change the fixed git hash / svn rev to HEAD. Otherwise generate from CMakeLists
