# Uavcan file extension

**URL:** <https://forum.opencyphal.org/t/uavcan-file-extension/438>\
**Category:** Development & Maintenance\
**Created:** [April 12, 2019, 3:47am UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438 "2019-04-12T03:47:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottdixon](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/scottdixon/32/39_2.png) [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Post date:** [April 12, 2019, 3:47am UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438/1 "2019-04-12T03:47:12Z")

</div>

I’m working through the chapter on dsdl in the v1 specification and realized that I don’t know why dsdl files have a .uavcan extension instead of a .dsdl extension? Should we support either?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [April 12, 2019, 8:07am UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438/2 "2019-04-12T08:07:08Z")

</div>

We might, although it may cause confusion with [document schema definition language(s)](https://en.wikipedia.org/wiki/Document_Schema_Definition_Languages). Should we vote?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [April 12, 2019, 4:04pm UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438/4 "2019-04-12T16:04:12Z")

</div>

We need a third option: “I don’t know”. Since I don’t know, I will desist from voting and observe from a distance.

---

<div class="post-metadata">

**Author:** ![scottdixon](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/scottdixon/32/39_2.png) [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Post date:** [April 12, 2019, 4:22pm UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438/5 "2019-04-12T16:22:29Z")

</div>

# Should we allow .dsdl as a file extension for DSDL files?

_Poll ([view on site](https://forum.opencyphal.org/t/uavcan-file-extension/438/5))_

This would be in addition to allowing `.uavcan` as an extension. If this proposal is accepted we would support two and only two extensions: ( `.uavcan` , `.dsdl` ). These extensions, per the v1 specification, would be case-sensitive ergo we would _not_ support (.UAVCAN, .DSDL).

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [August 8, 2019, 12:45am UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438/6 "2019-08-08T00:45:34Z")

</div>

This has slipped through the cracks somehow. Do we still want this? If yes, somebody should submit a pull request to PyDSDL.

---

<div class="post-metadata">

**Author:** ![scottdixon](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/scottdixon/32/39_2.png) [@scottdixon](https://forum.opencyphal.org/u/scottdixon)\
**Post date:** [August 8, 2019, 4:58am UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438/7 "2019-08-08T04:58:20Z")

</div>

I took a quick peek but I don’t think anything in there enforces any file extension. Am I missing something?

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [August 8, 2019, 5:40pm UTC](https://forum.opencyphal.org/t/uavcan-file-extension/438/8 "2019-08-08T17:40:59Z")

</div>

Enforced right here:

> <https://github.com/UAVCAN/pydsdl/blob/cb35ad3e8c0886d44facdfac14489b9ba7999d44/pydsdl/_namespace.py#L175>
