Coder Social home page Coder Social logo

Automate the packaging of eSim about esim HOT 25 OPEN

fossee avatar fossee commented on June 27, 2024
Automate the packaging of eSim

from esim.

Comments (25)

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024 1

@saicharan0112 Yes it would be great if you could try and let us know!!!

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024 1

@saicharan0112 your gha for Ubuntu looks promising. Some tweaks may be required, but you can proceed with the PR. Regarding the manual, we can automate it by fetching it from the above URL pattern.

@rahulp13 What do mean by tweaks? Can't those be in this PR?

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024 1

@saicharan0112 please proceed with https://static.fossee.in/esim/manuals/eSim_Manual_$tag.pdf

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto What do you mean by packaging (I mean which branches are packed together)? I have been developing CI for a few opensource tools. Maybe I can help you in packaging and releasing the eSim automatically.

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024

@saicharan0112 Please have a look at the following repository: https://github.com/FOSSEE/eSim/tree/installers/Windows

We are planning to automate the packaging of eSim Windows. Currently, the installers for the same are created manually and then passed to NSIS. But we want to automate the process so that maintenance becomes easy.

Also, Ubuntu Installer is available here: https://github.com/FOSSEE/eSim/tree/installers/Ubuntu

Please give us your valuable comments!!!

Thank You.

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto This looks pretty much straight forward to me. It can be done using GHA without any hustle. Do you want me to try for Ubuntu?

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024

@saicharan0112 If you have any update, please let us know.

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto Definitely. I will give an update this week. I was busy with my office work all these days.

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto Here is the release that is automatically done by GHA - https://github.com/saicharan0112/eSim/releases/tag/test_tag1

Can you check whether it has all the required files?

If so, I can create a PR so that you people can use it for eSim Ubuntu release

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024

@saicharan0112, Thanks a lot. I quickly went through it. Can you please provide us with a doc or readme mentioning the steps on how you automate it using GHA. Also, please correct the file name "nghld.zip" to "nghdl.zip". We will look into other files carefully and give some more comments in some time.

@rahulp13 feel free to comment.

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto Checkout these jobs - https://github.com/saicharan0112/eSim/actions/runs/3356398346/jobs/5561435527

Their names should give you the idea of steps.. This GHA should take care of all the steps you mentioned in this readme file https://github.com/FOSSEE/eSim/tree/installers/Ubuntu

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

It also create a release whenever you create a tag starting with "v"

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024

@saicharan0112 Thanks Sai. It looks quite good. Yes, please create a pull request. If possible create another branch as Automated Packaging and then create a pull request. Also, for Windows, will the GHA be feasible? We are using the NSI script for installation and all stuff.

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto I would like to point out two things in this improvement, which I hope you already observed.

  • It doesn't check for eSim executable. It directly copies the source code (src/ folder) from nghdl and eSim.
  • I couldn't find any eSim_manual.pdf file in the library/figures something location. However, I observed that we are deleting all the content except this pdf (if present). Is that what you would expect?

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024

@saicharan0112

  • Yay correct. eSim doesn't have an executable binary as of now. This approach should be correct. However, I need to install and test it once.
  • Earlier eSim had an HTML-based manual. However, we switched on to LaTeX now. So, the eSim_manual.pdf needs to be there. Here is the link to the eSim manual: https://static.fossee.in/esim/manuals/eSim_Manual_2.3.pdf

from esim.

rahulp13 avatar rahulp13 commented on June 27, 2024

@saicharan0112 your gha for Ubuntu looks promising. Some tweaks may be required, but you can proceed with the PR. Regarding the manual, we can automate it by fetching it from the above URL pattern.

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

from esim.

rahulp13 avatar rahulp13 commented on June 27, 2024

Please check the manual branch. Note that main.tex is the starting file.

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

Can you provide the list of commands you all usually follow to build the pdf file using these tex files?

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024

@saicharan0112 Generally we do everything in Overleaf. However please have a look here:

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto @rahulp13 I am not sure about automating the manual build using GHA cuz it looks like it requires hard-coding the name of latex files and figures, which I usually don't encourage. I see additional files in the manual branch. Can we reorganise the files and images, maybe placing them all in a single folder, so that we can run that folder directly using https://github.com/aslushnikov/latex-online .

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

If the manual is first updated in the location https://static.fossee.in/esim/manuals/*, I can just pull "https://static.fossee.in/esim/manuals/eSim_Manual_$tag.pdf" based on the tag you use for release (which is in sync with the release here on github). Hows that?

from esim.

Eyantra698Sumanto avatar Eyantra698Sumanto commented on June 27, 2024

@saicharan0112: https://static.fossee.in/esim/manuals/eSim_Manual_$tag.pdf should be a good solution.

@rahulp13 what's your opinion?

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

Any updates on this?

from esim.

saicharan0112 avatar saicharan0112 commented on June 27, 2024

@Eyantra698Sumanto Sure. I was actually waiting for @rahulp13 's comments. I missed his thumbs up reactions. Apparently GitHub won't notify you when emojis are used in conversations.

I will create a PR once I get some time.

from esim.

Related Issues (20)

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.