You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by "Alan C. Assis" <ac...@gmail.com> on 2024/06/25 00:07:09 UTC
Creating a NuttX mirror for external files
Hi Everyone,
I want to suggest creating a mirror to avoid failing when external files
disappear.
Many projects like Yocto, Zephyr and others do it.
Maybe we could use the nuttx user at github.com to store these files to
avoid mixing with Apache things.
Please share your thoughts.
BR,
Alan
Re: Creating a NuttX mirror for external files
Posted by Sebastien Lorquet <se...@lorquet.fr>.
Hello,
Sounds like a good idea in principle.
We dot that at dayjob. We have an internal gitea setup to mirror the
open source projects we use, and our internal projects depends on our
mirror. This means that our projects will still work even if the
upstream disappears. No more updates of course, but also no irreparable
damage to our systems.
Sebastien
On 25/06/2024 02:07, Alan C. Assis wrote:
> Hi Everyone,
>
> I want to suggest creating a mirror to avoid failing when external files
> disappear.
>
> Many projects like Yocto, Zephyr and others do it.
>
> Maybe we could use the nuttx user at github.com to store these files to
> avoid mixing with Apache things.
>
> Please share your thoughts.
>
> BR,
>
> Alan
>
Re: Creating a NuttX mirror for external files
Posted by "Alan C. Assis" <ac...@gmail.com>.
I just created a repository to be used by nuttx-apps tarballs and zip
packages:
https://github.com/NuttX/apps-mirror-pkgs
Please, let us populate it with the packages that are currently used by
nuttx-apps.
Not sure if we should create some Makefile/CMake rules to simplify the
mirror usage in case the main URL fails.
BR,
Alan
On Thu, Jun 27, 2024 at 2:03 PM Nathan Hartman <ha...@gmail.com>
wrote:
> On Thu, Jun 27, 2024 at 12:45 PM Alin Jerpelea <je...@gmail.com> wrote:
>
> > All those projects have to be kept in sync with the upstream which may
> > create some extra work
> > I am a bit concerned for the maintenance effort
> >
> > Best regards
> > Alin
>
>
>
> Can it be some kind of a mirror that automatically syncs to upstream? (With
> no changes against upstream.)
>
> Cheers
> Nathan
>
Re: Creating a NuttX mirror for external files
Posted by Nathan Hartman <ha...@gmail.com>.
On Thu, Jun 27, 2024 at 12:45 PM Alin Jerpelea <je...@gmail.com> wrote:
> All those projects have to be kept in sync with the upstream which may
> create some extra work
> I am a bit concerned for the maintenance effort
>
> Best regards
> Alin
Can it be some kind of a mirror that automatically syncs to upstream? (With
no changes against upstream.)
Cheers
Nathan
Re: Creating a NuttX mirror for external files
Posted by Alin Jerpelea <je...@gmail.com>.
All those projects have to be kept in sync with the upstream which may
create some extra work
I am a bit concerned for the maintenance effort
Best regards
Alin
On Thu, Jun 27, 2024 at 6:41 PM Nathan Hartman <ha...@gmail.com>
wrote:
> On Thu, Jun 27, 2024 at 11:40 AM Gregory Nutt <sp...@gmail.com> wrote:
>
> > On 6/27/2024 9:30 AM, Tomek CEDRO wrote:
> > > Hey there Alan :-)
> > >
> > > +1 here :-)
> > >
> > > I would put that to apache/nuttx-deps repo so maintenance is easier
> > > and more coherent with the rest of the project :-)
> > >
> > > Have a good day folks :-)
> > > Tomek
> >
> > Many of have licenses that are incompatible with Apache 2 and so could
> > not be under apache/
>
>
>
> In principle I agree we need a backup in case upstream projects disappear.
>
> Projects *have* disappeared in the past. For example, kconfig-frontends
> disappeared for a while due to the author moving apartments. Thankfully it
> returned but it (and other important tools) may disappear again, and may
> disappear forever.
>
> Regarding licensing:
>
> I don't know whether there are any Foundation policies about hosting such
> a... backup? mirror? What is it called? How can it be done in a way that
> agrees with policies, if there are any?
>
> Cheers
> Nathan
>
Re: Creating a NuttX mirror for external files
Posted by Nathan Hartman <ha...@gmail.com>.
On Thu, Jun 27, 2024 at 11:40 AM Gregory Nutt <sp...@gmail.com> wrote:
> On 6/27/2024 9:30 AM, Tomek CEDRO wrote:
> > Hey there Alan :-)
> >
> > +1 here :-)
> >
> > I would put that to apache/nuttx-deps repo so maintenance is easier
> > and more coherent with the rest of the project :-)
> >
> > Have a good day folks :-)
> > Tomek
>
> Many of have licenses that are incompatible with Apache 2 and so could
> not be under apache/
In principle I agree we need a backup in case upstream projects disappear.
Projects *have* disappeared in the past. For example, kconfig-frontends
disappeared for a while due to the author moving apartments. Thankfully it
returned but it (and other important tools) may disappear again, and may
disappear forever.
Regarding licensing:
I don't know whether there are any Foundation policies about hosting such
a... backup? mirror? What is it called? How can it be done in a way that
agrees with policies, if there are any?
Cheers
Nathan
Re: Creating a NuttX mirror for external files
Posted by "Alan C. Assis" <ac...@gmail.com>.
Yes! I suggested putting it in another repository like github.com/nuttx
instead of github.com/apache because of the license issue.
We could use the bitbucket.com as well, but using github.com will be easier
and faster because it is in the same infrastructure.
BR,
Alan
On Thu, Jun 27, 2024 at 12:45 PM Gregory Nutt <sp...@gmail.com> wrote:
> On 6/27/2024 9:30 AM, Tomek CEDRO wrote:
> > Hey there Alan :-)
> >
> > +1 here :-)
> >
> > I would put that to apache/nuttx-deps repo so maintenance is easier
> > and more coherent with the rest of the project :-)
> >
> > Have a good day folks :-)
> > Tomek
>
> Many of have licenses that are incompatible with Apache 2 and so could
> not be under apache/
>
> We used to do something like this years ago:
> https://bitbucket.org/nuttx/tools/src/master/ . There is not a lot there
> these days: A proprietary (but free) 802.11 image, the original build
> test, and some PC-based tools.
>
> The most interesting thing there is Ken's nxfuse which allows you to run
> NuttX file systems under Linux (for testing a NuttX sim build).
>
>
Re: Creating a NuttX mirror for external files
Posted by "Alan C. Assis" <ac...@gmail.com>.
Hi Ken,
Nice to hear from you, I hope you are well and hope you find a good Job
where you can go back to working with NuttX.
Your contributions to NuttX (Audio, SmartFS, etc) were and still are
important to our community.
This year we have a GSoC project focused on getting a NAND FS implemented
on NuttX.
Saurav (our GSoC student) is implementing a NAND FS (called mnemofs) for
NuttX: https://github.com/resyfer/nuttx/tree/nandfs/fs/mnemofs
If you have time, please take a look. He is writing a blog post about it
too: https://resyfer.github.io/blogs/mnemofs/intro_p1/
BR,
Alan
On Thu, Jun 27, 2024 at 12:56 PM Kenneth Pettit <pe...@gmail.com> wrote:
> On 6/27/24 8:40 AM, Gregory Nutt wrote:
> >
> > The most interesting thing there is Ken's nxfuse which allows you to
> > run NuttX file systems under Linux (for testing a NuttX sim build).
> >
>
> I'm curious how out of date that nxfuse implementation is relative to
> the current Apache release of NuttX. I suspect it should be pretty
> close as I don't believe there have been many (if any) structural
> changes to the file systems. Though the nxfuse build does have a
> dependency on the config.h header, which is where I suspect any updates
> might need to be made.
>
> Currently in the "Hunt for a job" stage ... perhaps once I land
> something I will re-engage in NuttX contributions. I do silently read
> pretty much all the posts. :)
>
> Ken
>
Re: Creating a NuttX mirror for external files
Posted by Kenneth Pettit <pe...@gmail.com>.
On 6/27/24 8:40 AM, Gregory Nutt wrote:
>
> The most interesting thing there is Ken's nxfuse which allows you to
> run NuttX file systems under Linux (for testing a NuttX sim build).
>
I'm curious how out of date that nxfuse implementation is relative to
the current Apache release of NuttX. I suspect it should be pretty
close as I don't believe there have been many (if any) structural
changes to the file systems. Though the nxfuse build does have a
dependency on the config.h header, which is where I suspect any updates
might need to be made.
Currently in the "Hunt for a job" stage ... perhaps once I land
something I will re-engage in NuttX contributions. I do silently read
pretty much all the posts. :)
Ken
Re: Creating a NuttX mirror for external files
Posted by Gregory Nutt <sp...@gmail.com>.
On 6/27/2024 9:30 AM, Tomek CEDRO wrote:
> Hey there Alan :-)
>
> +1 here :-)
>
> I would put that to apache/nuttx-deps repo so maintenance is easier
> and more coherent with the rest of the project :-)
>
> Have a good day folks :-)
> Tomek
Many of have licenses that are incompatible with Apache 2 and so could
not be under apache/
We used to do something like this years ago:
https://bitbucket.org/nuttx/tools/src/master/ . There is not a lot there
these days: A proprietary (but free) 802.11 image, the original build
test, and some PC-based tools.
The most interesting thing there is Ken's nxfuse which allows you to run
NuttX file systems under Linux (for testing a NuttX sim build).
Re: Creating a NuttX mirror for external files
Posted by Tomek CEDRO <to...@cedro.info>.
Hey there Alan :-)
+1 here :-)
I would put that to apache/nuttx-deps repo so maintenance is easier
and more coherent with the rest of the project :-)
Have a good day folks :-)
Tomek
On Tue, Jun 25, 2024 at 2:07 AM Alan C. Assis <ac...@gmail.com> wrote:
>
> Hi Everyone,
>
> I want to suggest creating a mirror to avoid failing when external files
> disappear.
>
> Many projects like Yocto, Zephyr and others do it.
>
> Maybe we could use the nuttx user at github.com to store these files to
> avoid mixing with Apache things.
>
> Please share your thoughts.
>
> BR,
>
> Alan
--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info