Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Git and Gitlab to manage undergraduate graduation Project

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

How to use Git and Gitlab to manage undergraduate graduation project, I believe that many inexperienced people do not know what to do. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

opening report

The opening report is to write clearly what my graduation project is going to do and what problems it solves.

My title is based on the content of my internship in the internship company, it belongs to the category of big data, the subdivision is log analysis, even using the Spark framework offline and real-time analysis of log generated by internal applications. In order to facilitate the management of computing resources and improve the utilization of CPU and memory, we use Mesos to manage Spark clusters; to facilitate the deployment and version maintenance of Spark, Kafka and other components, we use Ansible, Docker, Marathon and other tools.

The above sentence is a good summary of what I am going to do, but when I wrote the opening report, I had not yet started to work on the project, and I knew so little about what I was going to do that the opening report was not summarized well, and the baby was not satisfied with changing the mentor many times. Finally, the tutor reluctantly agreed to a rough version. At that time, I was a little irritable. I didn't get it right many times, and I was not satisfied with myself.

It is said that the current situation is a mystery, it has been 7 months since the opening report. When I look at myself at that time, I feel that I don't have a thorough understanding of the opening report, and I don't have the right attitude, that is:

I don't know the significance of the opening report.

I don't know how to write the opening report.

When writing the report, we did not pay enough attention to it, the content was not concise, and there was a lot of nonsense.

Winter vacation

According to the plan of the school, students complete the opening report and draw up a schedule under the guidance of their mentors before the winter vacation, and roughly complete the graduation project during the winter vacation. Well, the school is really too young too simple. I didn't do anything during the winter vacation.

Now it seems to be quite regrettable, a winter vacation wasted, if the winter vacation is done, I will have a lot of time to do other things after the start of school, will not be bound by the graduation project, lost a lot of opportunities …

Interim inspection

Unfortunately, I was selected for the mid-term inspection in April. At that time, the company arranged a lot of things, and it was too late to complete the examination. I spent two weekends hurriedly catching up with the foreign language translation and part of the graduation thesis. I asked for leave on April 28th to go back to school and wait for the teachers to check.

As required, students are required to prepare a PPT demonstration. I had already abandoned windows and embraced Linux, so I wrote a Markdown file to prepare a projector demonstration that would connect to the classroom with my own computer. Who knows that there is no connection in our classroom, not even the external network! The other students did the PPT and then copied it to the computer in the classroom to demonstrate, and I was the second to talk about it. No way, I told the teacher to adjust back, borrowed my classmates' computer and quickly wrote PPT, mainly recording what technology was used and how much my graduation thesis was written. That's what I said when I checked, and then I logged in to the GitLab of the school intranet and put a piece of code:

At that time, the code was not really written, the picture above is to learn that Spark is written by Demo and put it out to coax the teacher. Since the teachers I checked were not involved in such things as Docker,Mesos,Spark, they didn't ask me about it, but finally focused on the workload and progress of work. They also told me that the amount of code on GitLab is so small that it is necessary to write more.

Personally, I think the mid-term examination is very necessary. Although the serious and responsible students may have completed their winter vacation, most of the students are still in the middle and late stages of procrastination, and the school can check the progress in time while keeping abreast of the progress. It can also serve as a warning.

Full development stage

After the end of the mid-term inspection, I feel that time is very tight. I will check the paper on May 20 and reply on May 28, but my engineering code has not been written yet. There is no way to write a paper without code and data. What is more challenging is that I also need to learn Flask, Semantic UI, Bokeh and other technologies to be used in Bishop.

So I began to learn the technical framework, while writing code, while writing the rhythm of the paper, feeling really exciting. The most painful thing is to write a paper, because I have never written it before and have no experience. Our engineering papers require at least 10000 words. I am not a good pen. I often rack my brains, scratch my ears and scratch my cheek. I have only written a few hundred words if I look at the statistics in the lower left-hand corner. At this time, the whole person was devastated, wondering how to write so little!

The image above shows some commit records from the end of April to May 11th. The initial engineering code was completed on May 7th, and then it took another four days to complete the rough paper. During the period, the tutor Bao Bao also contacted me and asked me how my writing was going. I said soon, the code was finished, and the rest was to write a paper. Tutor baby is very good, in line with the principle of students' own responsibility, only understand the progress, do not rush, believe that their students can finish on time.

On May 11th at 4:43 in the afternoon, I sent the first draft of the paper to the tutor's mailbox. I had butterflies in my stomach. After all, it had not been revised. It was very rough. I didn't know what the teacher said. Sure enough, the tutor didn't let me down. She was very angry. Reply to my message at 8: 00 p. M. saying:

I also thought that the first draft was badly written and needed to be revised. It happened on Friday the next day, so I immediately asked for leave to go back to school to discuss the paper with the teacher. When I went to the office on Friday afternoon, the teacher said a lot of key points and areas that needed to be changed. From memory, I summarized as follows:

The structure of the paper is chaotic, writing principles and engineering code. There is no reasonable structure.

There are a lot of format and typesetting errors.

The teacher said that the structure of my paper should be greatly changed. I think it is necessary to change the engineering chaotic paper into an engineering academic paper. I feel that you have opened up a project, and as a result, the document is poorly written, and everyone scolds you for writing something. So it has to be revised.

The above picture is the submission record of these 4 days, mainly to modify the structure and format of the paper, and fine-tune the engineering code and related Dockerfile by the way.

five hundred and twenty

According to the requirements of the school, students have to complete the paper weight check before 520. Only students with a weight of less than 30% can participate in the first thesis defense, and those who fail will have to wait until the second check pass in July before arranging the defense.

But I was pressed for time. I was still correcting my paper all night on the evening of May 19th. At that time, many students had already finished checking. I clearly remember that night I was sitting on the bench in the dormitory naked, under the sweltering heat and inexplicable pressure, while scolding how the word format was so complicated and difficult to adjust. The third edition of the paper was revised that night, and the tutor, Bao Bao, was also very good, helping us to check and revise the paper on the other side of QQ, and accompanied us to check it again in the wee hours of the morning.

Before submitting it to the school system for weight checking, many students will buy an account on Taobao to check, but the price is more expensive, I can't accept it. Fortunately, there is a website called paperpass, 1000 words / 2 yuan, which is relatively cheap. I spent 24 or so to check the repetition rate of single digits, and I forgot exactly how much. Some sentences are modified according to floating red. Finally, show it to the tutor baby and submit it for re-inspection. Students can not see the results of the duplicate check, but also have to work hard for the tutor to log on to the system in the middle of the night to help me see the results, with a repetition rate of 0.3%. That's good. The paper has undergone three major revisions here, and finally it has been basically finalized, and the rest is to prepare the 5.28 defense.

The above picture is the submission record on May 19th, showing that the two git users are because I borrowed my sister's windows to change word and draw visio in addition to my own Ubuntu computer to modify the code.

The second day of the 19th is 520, the day when legendary couples show their love for single dogs and eat dog food. All those who have company have gone out to abuse dogs in moments, and single dogs like me have nothing to do and continue to revise their papers. How to say, I also gained something that day, because my paper weighed 0.3%, and my hard work was not in vain.

Reply: full of tricks

I replied on the morning of May 28th, and on the evening of the 27th, I worked hard to modify PPT. I changed it many times, just hoping to be as perfect as possible. No more PPT, within 10 pages, give a concise and clear introduction to what you do and highlight the main points. The rest will be left to the defense teacher.

In fact, the defense is full of routines, teachers are very short of time, they do not want to hear you introduce the background of the project, they just want to know what you have done and what problems you have solved! Several students introduced themselves and introduced the background of the project at the beginning, all of which were amicably interrupted by the teacher. One teacher also said, "Don't tell me who you are. We don't care who you are. We only care about what you have done."

After introducing PPT, the teachers will ask some questions or point out some mistakes in the format of the paper. This is what I call a routine. Ask questions where you can, and say wrong format if you can't ask them.

At the end of the reply, we complained to our mentor that it was all a routine, and the mentor comforted us:

The defense group is like a World Cup grouping, with different referees. Just a game. Phased self-completion, plus, phased end.

The tutor baby is really warm, and finally the classmate God concluded: the school and the defense teacher are the manufacturers of routines, and the mentor is our worry-solving grocery store.

Bishop's evidence

A month after the end of college, I have no feeling at all, no melancholy, lukewarm. But I feel like I need to write something to say goodbye to her. I just want to start with Bishu. Bishu's evidence is inspired by Liu Liangcheng's "evidence in this Life". Your life and experience need to be proved, and so is your career. Bishu's evidence is my Git submission records, the email records of my mentor and my baby, and those more than 30 days of painstaking development process engraved on memory.

GitLab visualization

Thanks to the GitLab built by Nanxin Duohuo Studio, I can host it in a private repo. GitLab visualized all my commit, and I was filled with emotion when I browsed it. Here are a few pictures:

Two computers, two Git.

41 days, 79 submissions, an average of 1.3 per day. The largest number of submissions was made before the duplicate check on May 19.

After reading the above, have you mastered how to use Git and Gitlab to manage the undergraduate graduation project? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report