How to make first steps in Fedora community? Check this out!
by Justin W. Flory
Hi everyone,
Are you trying to make your first steps in the Fedora community? Not
sure where to start? Check out this short guide to earn some Fedora
Badges to get started in the community.
https://docs.fedoraproject.org/fedora-project/subprojects/mindshare/docs/...
Fedora Badges are a way for you to receive virtual badges for doing
certain activities in the project. They're a good way to look for things
to do and how to participate. The link above explains some of the best
badges to earn for beginners and how to earn them.
I encourage all prospective students for GSoC or Outreachy to try and
earn some of these badges to get started in the Fedora community.
Hope this is helpful!
--
Cheers,
Justin W. Flory
jflory7(a)gmail.com
6 years, 1 month
GSOC: Atomic IoT Host Upgrade Daemon Proposal
by Brian Gallagher
Hi all,
I'm a final year undergraduate Computer Science student hoping to
participate in Google's Summer of Code. I'm interested in systems
programming and C, despite having little exposure throughout my degree,
having read K&R and Advanced UNIX Programming in the UNIX Environment
(Richard Stevens) in the past year or so. I'd love to get some
real-world, concrete experience with systems programming and open
source development.
I'm interested in tackling the idea for an automatic host upgrade daemon and
I've outlined my potential approach with some high-level technical detail below.
Does it look like I'm on the right track in my thinking?
Best regards,
Brian.
===========================================================
I propose writing the host upgrade daemon in C.
> - Set up daemon
This can be done by having init fork and exec our host upgrade
daemon. Then, we perform necessary set-up calling setsid to
become the session leader, setting umask to a known value,
close all open descriptors inherited and open 0,1,2 to log or
to /dev/null.
Alternatively, instead of having init fork and exec the daemon
we could have the daemon be an executable that forks and exits,
before carrying out the rest of the set-up.
> - Monitor the status of available downloads.
We can use libcurl (https://curl.haxx.se/libcurl/) to download the
update and monitor status or, if needed, do some socket programming.
> - Apply the Atomic update delta
This is an area I'm unsure of how to tackle - how do you programmatically
update the changed parts of files? Is there pre-existing functionality
already present?
> - set a "boot once' flag to boot the new version via grub
We could modify /boot/grub/grub.conf to boot once-only, allowing us to
boot the new version while also being able to revert if the new version
fails. Or, we could augment the file to specify the old version as a
fallback
> - set a hardware watchdog
A hardware watchdog can be set by writing to the block device
/dev/watchdog periodically (if the timeout elapses and watchdog is not
written to, a reboot occurs).
> - initiate a reboot of the system
use reboot(2)
> - if boot to normal userspace fails the watchdog triggers and it resets
> to the old version
This should be covered by the above.
> - if boot succeeds to the point the daemon starts up it then proceeds
to phase two of the upgrade process.
This could be handled by checking a flag at the beginning of execution
of the program. However, since we're rebooting it can be a flag in
memory, so we could write to a file (maybe the version) and then
check if the current version is the same as the written one. If it is
then the reboot failed, else it succeeded and we carry out phase two.
> - unsets watchdog so the OS won't reset
stop watchdog by writing 'v' to /dev/watchdog and closing the file.
> - checks it can see all required network interfaces
We can get a linked list of all local network interfaces using
getifaddrs(3) and check for presence of required interfaces.
> - checks it can resolve addresses and contact the update server
We can use getaddrinfo() here to verify DNS look-ups are still okay.
> - Check it's connected to all other critical services
We can use getaddrinfo() and connect(), checking if they were
successful in order to determine this.
> - Checks it can see all sensors and services are running correctly
Checking sensors is something I wouldn't be too familiar about.
We can check processes and services to be present with kill() and
sig==0.
Some manner of specifying what defines critical services for a
particular device needs to be supplied. The most obvious proposal
would be some file where critical components can be specified.
6 years, 1 month
seeking a mentor for Gsoc'18
by Marut Pandya
Hello sir! i am associated with fedora from November 2017.
I want to work under fedora project for gsoc'18
please if anyone can help me getting mentor.
thank you!
6 years, 1 month
[Introduction] Shreya Pohekar
by shreya pohekar
Hello Everyone,
I am Shreya Pohekar , 2nd year student from University Institute of Technology, RGPV , Bhopal , India.
I am interested in applying in GSoC 2018 , and would like to contribute for the project :"
Atomic IoT (likely useful in numerous other Atomic ideas) host upgrade daemon"
I am good at c/c++ programming. And I am also comfortable in using Linux as an OS. I am contributing in iot and offensive iot exploitation since 1 year. Contributing to this project will be a huge opportunity for enhancing my programming skills as well as to learn more on iot.
I need help from where to get started.
Regards,
Shreya
linkedIn : https://www.linkedin.com/in/shreya-pohekar-b7357a135/
GitHub : https://github.com/shreya2201
6 years, 1 month
GSoC '18 - Introduction
by Shubham Rao
Hi
I am Shubham Rao, pursuing my undergraduate degree in Computer Science. I
would like to contribute to Fedora for my GSoC.
The idea of creating libgpiod bindings for Python is very interesting. I
would like your help to get started.
Also open to contribute to other parts of Fedora
With Regards,
*Shubham Rao*
6 years, 1 month
Joshua Rudaitis - Introduction
by Josh Rudaitis
Hi All,
My name is Josh Rudaitis and I am a 3rd year undergrad Computer Engineering major at the University of Florida. I usually switch between Mac, Linux and Windows based on what I need to accomplish, and have relevant experience in Android development (I create and publish my own apps to the Play Store). It’s awesome that Fedora is participating in Google Summer of Code, and am very interested in the Fedora Android listings, specifically the UI/UX project. I wish everyone luck in having a fun and productive summer!
Thanks,
Josh
6 years, 1 month
Contributing to fedmsg for Outreachy
by Eesha Dutta
Hello all,
I am Eesha Dutta. I am a student at International Institute of Information
Technology, Hyderabad. I have experience with JavaScript, Python and Django
and I am a contributor to Open Humans organization. I would like to
contribute to fedmsg-perceval plug-in through Outreachy programme. I looked
at the documentations of fedmsg and perceval and now will try hacking
fedmsg by making a twitter tweeter and then perceval to try making a
minimal REST-API data puller. I would like to discuss regarding the project
and further enhancements for writing a proposal.
Thank You.
6 years, 1 month
Hello!
by Nicklaus McClendon
Hello all!
My name is Nick McClendon and I am a graduating from the University of
Texas at Dallas with a BS in Computer Science and will be pursuing my MS
in Computer Science with a focus in Information Security. I have
actually only recently switched to vanilla Fedora (formerly used Qubes
OS) and I'm excited the Fedora Project is part of GSoC this year. I'm
particularly interested in the "Dockerfile linter leveraging Container
Best Practices" project. Does anyone have any recommendations as to
learn more about particularly the final container deployment process?
Thanks,
Nick McClendon
6 years, 1 month
[Introduction] Sounak Pradhan
by Sounak Pradhan
Hello everyone,
I am Sounak Pradhan, 2nd year CS undergrad student from International Institute of Information Technology, Hyderabad.
I am looking forward to contributing to the project `Pagure` for this GSoC.
Thanks.
6 years, 1 month
Outreachy/GSoC Project Doubt
by Abhishek Sharma
Hi!
I noticed that the Fedora Project *Improve Fedora Android App - UI/UX
Research and Design *is listed as a project in both Outreachy and Google
Summer of Code'18.
I wanted to know if there will be *one student selected each from Outreachy
and GSoC* for the project, or only *one overall *from either of them?
Thanks!
Best,
Abhishek
6 years, 1 month