# ExtensionIndex : can the scmurl field point to anywhere?

**URL:** <https://discourse.slicer.org/t/extensionindex-can-the-scmurl-field-point-to-anywhere/31446>\
**Category:** Support\
**Created:** [August 30, 2023, 10:58am UTC](https://discourse.slicer.org/t/extensionindex-can-the-scmurl-field-point-to-anywhere/31446 "2023-08-30T10:58:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [August 30, 2023, 10:58am UTC](https://discourse.slicer.org/t/extensionindex-can-the-scmurl-field-point-to-anywhere/31446/1 "2023-08-30T10:58:08Z")

</div>

Hi,

I wish to know if the scmurl field of the \*.s4ext file in the ExtensionIndex must point to a github repository? Would an extension be built if it points elsewhere, to a gitlab repository for example?

Thank you.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 30, 2023, 12:39pm UTC](https://discourse.slicer.org/t/extensionindex-can-the-scmurl-field-point-to-anywhere/31446/2 "2023-08-30T12:39:52Z")

</div>

Yes, gitlab should be fine as long as the scmurl points to something that can be cloned.

[https://slicer.readthedocs.io/en/latest/developer\_guide/extensions.html#supported-metadata-fields](https://slicer.readthedocs.io/en/latest/developer_guide/extensions.html#supported-metadata-fields)

---

<div class="post-metadata">

**Author:** ![andrew\_why\_not](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/andrew_why_not/32/67086_2.png) [@andrew\_why\_not](https://discourse.slicer.org/u/andrew_why_not)\
**Post date:** [September 18, 2024, 8:15am UTC](https://discourse.slicer.org/t/extensionindex-can-the-scmurl-field-point-to-anywhere/31446/3 "2024-09-18T08:15:11Z")

</div>

Hello!

And what about the modules built and available only locally? For instance, if I pack a module locally and distribute it myself, where scmurl should point at?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [September 18, 2024, 2:43pm UTC](https://discourse.slicer.org/t/extensionindex-can-the-scmurl-field-point-to-anywhere/31446/4 "2024-09-18T14:43:43Z")

</div>

If you are using the regular build process for extensions you will need to point somewhere. It can be a directory that contains a git repository (just use the file path).
