Coder Social home page Coder Social logo

cli.rs's People

Contributors

abhinavmir avatar blackphlox avatar deepu105 avatar exil0867 avatar frol avatar insertish avatar koohiimc avatar kwaa avatar mre avatar mu001999 avatar orhun avatar raselshikdar avatar rdwz avatar rossmacarthur avatar sartimo avatar sayanarijit avatar simonsan avatar snylonue avatar sxyazi avatar syuhendar729 avatar thecaralice avatar treeshateorcs avatar ultirequiem avatar voidentente avatar webtestmeta avatar willkirkmanm avatar wrrench avatar yoickiev avatar zackify avatar zhaofengli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cli.rs's Issues

Improve the workflow for Cleanup and DNS Record Management

Hello!

I have been examining the GitHub Actions workflow for creating CNAME records in the cli.rs project and noticed a few areas that could benefit from improvements, specifically regarding cleanup, scalability, and the ability to update existing CNAME records. I would like to contribute to the project by addressing these issues.

Example:

Currently, users cannot update their subdomain CNAME value due to the workflow's limitations. For instance, if a user wants to change the CNAME value for their subdomain (e.g., from old-value.github.io to new-value.github.io), the workflow will attempt to create a new DNS record with the updated value. However, DigitalOcean rejects the addition of a DNS record that already exists, resulting in a silent error in the logs, and the CNAME value remains unchanged.

To resolve this issue, I propose the following improvements:

  1. Cleanup: Implement a mechanism within the workflow that checks for deleted or modified files in the domains directory and performs the necessary cleanup actions on DigitalOcean. This will ensure that the DNS records stay up-to-date with the repository state.

  2. Enhance the workflow to support updating existing CNAME values, deleting records, and creating new ones by detecting changes and using the appropriate DigitalOcean CLI commands to update the DNS records accordingly. Currently, the workflow does not handle the removal or modification of existing DNS records. If a subdomain needs to be removed or updated, it would need to be done manually.

The improvements I am planning to implement would make use of the following DigitalOcean CLI commands:

  • doctl compute domain records create: Create a DNS record
  • doctl compute domain records delete: Delete a DNS record
  • doctl compute domain records list: List the DNS records for a domain
  • doctl compute domain records update: Update a DNS record

I believe these improvements will help ensure that the cli.rs project continues to serve the Rust community effectively as it grows. I would appreciate any feedback or suggestions you might have, and I am ready to submit a pull request with the proposed changes once we agree on the best approach.

Please note that I will be testing the changes carefully in my fork before opening pull requests to ensure the updated workflow functions as expected.

I am looking forward to contributing to this project and helping to enhance it. Please let me know if my PRs will be welcomed ๐Ÿ˜.

Sponsor Button Broken

Hey there, this is a great idea!

Just wanted to let you know that the sponsor button is currently broken:
image

I have no issue

but this is a way how to reach out to you. I don't do rust daily but I like your service to the community. Keep up!

HTTPS support

Thanks for the awesome service. Would it be possible to add HTTPS support?
You could e.g. use letsencrypt for it if you like.

No idea how the server is set up in the background, otherwise I would have had a look. ๐Ÿ˜‰

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.